Possible plugin Conflict with Asset Cleanup Plugin
-
Hi there
There seems to be a conflict with the latest update and the asset cleanup plugin. Causes a critical error when trying to login to the backend. After debugging its clear the two plugins cant be installed at the same time.
Is there a way to resolve this?
This is from the error log:
An error of type E_ERROR was caused in line 100 of the file /home/allauudv/public_html/wp-content/plugins/wordpress-seo/admin/capabilities/class-register-capabilities.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/allauudv/public_html/wp-content/plugins/wordpress-seo/admin/capabilities/class-register-capabilities.php:100
Stack trace:
#0 /home/allauudv/public_html/wp-content/plugins/wordpress-seo/admin/capabilities/class-register-capabilities.php(100): in_array('wpseo_manager', NULL, true)
#1 /home/allauudv/public_html/wp-includes/class-wp-hook.php(326): WPSEO_Register_Capabilities->map_meta_cap_for_seo_manager(Array, 'administrator')
#2 /home/allauudv/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#3 /home/allauudv/public_html/wp-includes/capabilities.php(842): apply_filters('map_meta_cap', Array, 'administrator', 0, Array)
#4 /home/allauudv/public_html/wp-includes/class-wp-user.php(782): map_meta_cap('administrator', 0)
#5 /home/allauudv/public_html/wp-includes/capabilities.php(985): WP_User->has_cap('administrator')
#6 /home/allauudv/public_html/wp-includes/capabilities.php(877): user_can(Object(WP_User), 'administrator')
#7 /home/allauudv/public_html/wp-content/plugins/wp-asset-clean-up/classes/Settings.php(608): current_user_can('administrator')
#8 /home/allauudv/public_html/wp-content/plugins/wp-asset-clean-up/classes/Settings.php(595): WpAssetCleanUp\Settings::filterSpecialSettings(Array)
#9 /home/allauudv/public_html/wp-content/plugins/wp-asset-clean-up/classes/Settings.php(366): WpAssetCleanUp\Settings->filterSettings(Array)
#10 /home/allauudv/public_html/wp-content/plugins/wp-asset-clean-up/classes/Main.php(245): WpAssetCleanUp\Settings->getAll()
#11 /home/allauudv/public_html/wp-content/plugins/wp-asset-clean-up/wpacu-load.php(43): WpAssetCleanUp\Main->loadAllSettings()
#12 /home/allauudv/public_html/wp-content/plugins/wp-asset-clean-up/wpacu.php(106): require_once('/home/allauudv/...')
#13 /home/allauudv/public_html/wp-settings.php(517): include_once('/home/allauudv/...')
#14 /home/allauudv/public_html/wp-config.php(79): require_once('/home/allauudv/...')
#15 /home/allauudv/public_html/wp-load.php(50): require_once('/home/allauudv/...')
#16 /home/allauudv/public_html/wp-admin/admin.php(34): require_once('/home/allauudv/...')
#17 /home/allauudv/public_html/wp-admin/edit-comments.php(10): require_once('/home/allauudv/...')
#18 {main}
thrown
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.