(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)? -
Sorry for taking so long to reply —
the fix worked wonderfully!
Thanks so much for addressing this!
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it