Error with WPSEO Admin Asset
-
I can’t consistently reproduce this error that some editors are having on my client’s site. This is what is showing up in the logs:
[23-May-2022 15:02:54 America/New_York] PHP Warning: array_map(): Expected parameter 2 to be an array, null given in D:\home\site\wwwroot\wp-content\plugins\wordpress-seo\admin\class-admin-asset-manager.php on line 346 [23-May-2022 15:02:54 America/New_York] PHP Warning: in_array() expects parameter 2 to be array, null given in D:\home\site\wwwroot\wp-content\plugins\wordpress-seo\admin\class-admin-asset-manager.php on line 405 [23-May-2022 15:02:54 America/New_York] PHP Fatal error: Uncaught InvalidArgumentException: src is a required argument in D:\home\site\wwwroot\wp-content\plugins\wordpress-seo\admin\class-asset.php:165 Stack trace: #0 D:\home\site\wwwroot\wp-content\plugins\wordpress-seo\admin\class-admin-asset-manager.php(128): WPSEO_Admin_Asset->__construct() #1 D:\home\site\wwwroot\wp-content\plugins\wordpress-seo\admin\class-admin-asset-manager.php(117): WPSEO_Admin_Asset_Manager->register_scripts() #2 D:\home\site\wwwroot\wp-includes\class-wp-hook.php(307): WPSEO_Admin_Asset_Manager->register_assets() #3 D:\home\site\wwwroot\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters() #4 D:\home\site\wwwroot\wp-includes\plugin.php(474): WP_Hook->do_action() #5 D:\home\site\wwwroot\wp-admin\admin.php(175): do_action() #6 D:\home\site\wwwroot\wp-admin\post.php(12): require_once('D:\\home\\site\\ww...') #7 {main} thrown in D:\home\site\wwwroot\wp-content\plugins\wordpress-seo\admin\class-asset.php on line 165How should I go about solving this error?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Error with WPSEO Admin Asset’ is closed to new replies.