Title: Critical error on wordpress posts
Last modified: April 7, 2023

---

# Critical error on wordpress posts

 *  Resolved [lasithhh](https://wordpress.org/support/users/lasithhh/)
 * (@lasithhh)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-on-wordpress-posts/)
 * I am getting a critical error when visiting posts section of the wordpress dahsboard
   with Optimole plugin active. And this issue goes away after deactivating the 
   Optimole plugin. I tried by deactivating all the plugins except Optimole but 
   issue is still there. Below is the error log I got from wp debugging plugin. .
   Can you please help to check what is the issue. 
   Thank youWarning: require(/nas/
   content/live/newsite/wp-content/plugins/optimole-wp/vendor/codeinwp/themeisle-
   sdk/assets/js/build/index.asset.php): Failed to open stream: No such file or 
   directory in /nas/content/live/newsite/wp-content/plugins/optimole-wp/vendor/
   codeinwp/themeisle-sdk/src/Modules/Promotions.php on line 517Fatal error: Uncaught
   Error: Failed opening required ‘/nas/content/live/newsite/wp-content/plugins/
   optimole-wp/vendor/codeinwp/themeisle-sdk/assets/js/build/index.asset.php’ (include_path
   =’.:/usr/share/pear/php:/usr/share/php’)in /nas/content/live/newsite/wp-content/
   plugins/optimole-wp/vendor/codeinwp/themeisle-sdk/src/Modules/Promotions.php 
   on line 517
 * Call stack:
 * ThemeisleSDK\Modules\Promotions::enqueue()
   wp-includes/class-wp-hook.php:308WP_Hook::
   apply_filters()wp-includes/class-wp-hook.php:332WP_Hook::do_action()wp-includes/
   plugin.php:517do_action()wp-admin/admin-header.php:118require_once()wp-admin/
   edit.php:407

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [colinrc](https://wordpress.org/support/users/colinrc/)
 * (@colinrc)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-on-wordpress-posts/#post-16637870)
 * The same on my two sites with this plugin (with very few other plugins in common).
   When I roll to the previous version the problem immediately goes away.
 *  Plugin Support [Kush](https://wordpress.org/support/users/kushnamdev/)
 * (@kushnamdev)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-on-wordpress-posts/#post-16638839)
 * Hey [@lasithhh](https://wordpress.org/support/users/lasithhh/) and [@colinrc](https://wordpress.org/support/users/colinrc/),
 * We sincerely apologize for the critical errors that you may have experienced 
   on your website after updating the Optimole plugin to version 3.6.0. We understand
   the inconvenience this may have caused and want to assure you that we have been
   actively working to resolve the issue.
 * In the meantime, as a temporary solution, we recommend rolling back the Optimole
   plugin to version 3.5.7 to resolve the critical errors. You can do this by accessing
   the plugin settings in your WordPress admin dashboard and selecting the “Rollback”
   option. This will revert your plugin to the previous version and help you restore
   the normal functioning of your website.
 * Our team is committed to resolving the issue promptly and providing you with 
   a stable and reliable plugin. We appreciate your patience and understanding during
   this time.
 * If you have any further questions or need additional assistance, please do not
   hesitate to reach out to us. We are here to help.
 * Thank you and have a great day!
 *  [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-on-wordpress-posts/#post-16639619)
 * Hey [@lasithhh](https://wordpress.org/support/users/lasithhh/) & [@colinrc](https://wordpress.org/support/users/colinrc/),
 * Thank you for the report. Can you try to update to version 3.6.1 and let us know
   if that fixes it for you?
 *  Thread Starter [lasithhh](https://wordpress.org/support/users/lasithhh/)
 * (@lasithhh)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-on-wordpress-posts/#post-16639677)
 * Hi, the update fixed the issue. Thank you
 *  [colinrc](https://wordpress.org/support/users/colinrc/)
 * (@colinrc)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-on-wordpress-posts/#post-16639679)
 * All good now, 3.6.1 works perfectly on both sites.
 * Thank you for the really fast update.
 *  Plugin Support [Kush](https://wordpress.org/support/users/kushnamdev/)
 * (@kushnamdev)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-on-wordpress-posts/#post-16639683)
 * Hey [@lasithhh](https://wordpress.org/support/users/lasithhh/) and [@colinrc](https://wordpress.org/support/users/colinrc/)
 * Thank you for providing an update that the latest version fixed the issue. Let
   us know if you have any other questions/feedback.
 * Thank you and have a nice day!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Critical error on wordpress posts’ is closed to new replies.

 * ![](https://ps.w.org/optimole-wp/assets/icon-256x256.gif?rev=3013666)
 * [Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization](https://wordpress.org/plugins/optimole-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optimole-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optimole-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/optimole-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optimole-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optimole-wp/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [Kush](https://wordpress.org/support/users/kushnamdev/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/critical-error-on-wordpress-posts/#post-16639683)
 * Status: resolved