(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)?