E_ERROR in wp-less.php
-
Hello,
A site owner has forwarded me an error message (email) generated by WP after updating a plugin. After updating, there was apparently a fatal E_ERROR at https://www.example.com/wp-admin/update.php?action=update-selected&plugins=akismet%2Fakismet.php&_wpnonce=0b80e29853 and according to the message, it points to line 136 in the theme component file wp-less.php:
unset( $plugins->active[ array_search( plugin_basename( __FILE__ ), $plugins->active ) ] );
Other than the error message, the site seems to work without any problems and the plugin updated properly without any issues. Although the theme is a paid theme, I am not able to contact the creator(s) because it is obsolete, the publisher is no longer around, and replacing the theme is absolutely not an option; but the wp-less.php file is used in many plugins. Is this due to a bug in the latest version of WP? Or are there changes I should make to the line of code?
- The topic ‘E_ERROR in wp-less.php’ is closed to new replies.