Varia 1.6.4 theme E_PARSE error/bug
-
Running self-hosted site with WP 5.6.2 and updated Automattic’s Varia’s theme to 1.6.4 and my whole site went down. Got an email saying:
When seeking help with this issue, you may be asked for some of the following information: WordPress version 5.6.2 Current theme: Varia (version 1.6.4) Current plugin: (version ) PHP version 7.2.26 Error Details ============= An error of type E_PARSE was caused in line 206 of the file /home/animati3/public_html/wp-content/themes/varia-wpcom/functions.php. Error message: syntax error, unexpected ')'
On line 205, there is a stray comma in the last function call. So even with the closed parenthesis, it still is expecting more code to follow:
https://stackoverflow.com/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them/18092308#18092308We just updated our site code, removed the comma, and the site was fine.
But they need to fix it for everyone else!!!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Varia 1.6.4 theme E_PARSE error/bug’ is closed to new replies.