Fatal error: undefined function WpAssetCleanUp\json_last_error()
-
Hi Gabriel,
I just installed the latest version of the plugin (1.3.2.6) on WordPress 5.1.1 (at time of writing also the latest version).
After I installed the plugin, and switched on the “I’ve read and understood the use of this plugin” (or something like that), and pressed the “save” button, I got the error below. Sadly, I had to remove the plugin again to get the site to function again. From the error it seems a function is missing from the main plugin class (maybe a slight mistake during checking in the code on the SVN repository?.
Please give me a heads up after you’ve found the time to fix it, since the plugin is very helpful!
If you’d like me to investigate the issue any further feel free to let me know.
Fatal error: Uncaught Error: Call to undefined function WpAssetCleanUp\json_last_error() in USER_DIRECTORY/wp-content/plugins/wp-asset-clean-up/classes/Settings.php:262 Stack trace: #0 USER_DIRECTORY/wp-content/plugins/wp-asset-clean-up/classes/Main.php(237): WpAssetCleanUp\Settings->getAll() #1 USER_DIRECTORY/wp-includes/class-wp-hook.php(286): WpAssetCleanUp\Main->triggersAfterInit('') #2 USER_DIRECTORY/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 USER_DIRECTORY/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 USER_DIRECTORY/wp-settings.php(505): do_action('init') #5 USER_DIRECTORY/wp-config.php(92): require_once('/home/cizapeo34...') #6 /home/cizapeo342/domains/fortranbigirimana in USER_DIRECTORY/wp-content/plugins/wp-asset-clean-up/classes/Settings.php on line 262
- The topic ‘Fatal error: undefined function WpAssetCleanUp\json_last_error()’ is closed to new replies.