(Fixed) update v1.036 broke simple-custom-post-order
-
Updated Lay Theme (along with the default themes) today, and after the update finished, my wordpress install appeared to be broken. Whenever I tried to access the backend or any URL, I got this error:
Parse error: syntax error, unexpected '[' in /home/redacted/public_html/2015A/wp-content/themes/lay/assets/inc/simple-custom-post-order/simple-custom-post-order.php on line 145
I tried looking for an extra '[' in the simple-custom-post-order.php file but couldn't find it.
I had FTP access so I found the simple-custom-post-order on wordpress.org and re-installed manually. This fixed the issue!
Just posting for posterity!
-
Hey! Thanks for pointing that out! Hm yeah when I look at this line of code I see I made a little mistake there. The way I did it, it won't work with older php versions.
Yeah I included the simple custom post order plugin, but I customized it a bit :D
Ok, I just released 1.037 which should fix the bug. Can you let me know if that version works for you (With the extra simple custom post order plugin deinstalled)?
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it