Find Answers and Get Support › Forums › Pimp my Site – Holiday, Weather & Festive Effects to Pimp your WordPress Site › Installation & Updates › Fatal Error After Update to 1.2.1
- This topic has 4 replies, 3 voices, and was last updated 11 months ago by Manathan.
-
AuthorPosts
-
AlongarParticipant@alongar
- 37 Topics
- 103 Posts
Hello,
When updating the plugin, I get a fatal error. I had to deactivate the plugin via the server since I could not access my website.
Error:
An error of type E_PARSE was caused in line 1756 of the file /wp-content/plugins/pimp-my-site/admin/settings/class-pimp-my-site-settings.php. Error message: syntax error, unexpected token “else”
Also, when trying to reactivate the plugin there is an error:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected token “else” in /wp-content/plugins/pimp-my-site/admin/settings/class-pimp-my-site-settings.php on line 1756
Here are system specs:
WordPress version 6.3.2
Current plugin: Pimp my Site (version 1.2.1)
PHP version 8.2.11October 27, 2023 at 17:46 #46284@themodactyl- 0 Topics
- 6603 Posts
Hi Alongar,
Thank you for bringing this to our attention. 🙂
To help us getting clues and find a solution to this issue, please activate logging on your website, just turn WP_DEBUG to true, by pasting the following code lines in your wp-config.php file, just before the line that says ‘That’s all, stop editing! Happy blogging.’:
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
More on this in the following topic: Debugging in WordPress.
Thank you.
October 30, 2023 at 09:34 #46302AngellitoXParticipant@angellitox- 0 Topics
- 1 Posts
Hope you guys don’t mind but I just purchased the product and I’m already facing the exact same issue. Sadly it seems that it’s a loooong-lasting error that’s been reported countless times here in the forum and reappears in some updates. Hope a permanent fix can be found.
My environment:
WordPress 6.3.2
PHP Version 8.1.16November 1, 2023 at 02:14 #46320@themodactyl- 0 Topics
- 6603 Posts
Hi,
Thank you for bringing this to our attention! We found from where this issue was coming from. We have just released a new update of Pimp My Site. Updating this plugin to the latest version should fix this issue.
After the update, the problem should now be fixed. 🙂
Kindest regards,
November 2, 2023 at 09:52 #46324 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Fatal Error After Update to 1.2.1’ is closed to new replies.