• Resolved Andreas

    (@perryzelda)


    Hi,

    I’ve been getting this error message for a while:

    WordPress-Version 6.0.1
    Aktuelles Plugin: Adminimize (Version 1.11.8)
    PHP-Version 8.0.20
    
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 161 der Datei /www/htdocs/.../wp/wp-content/plugins/adminimize/inc-setup/dashboard.php verursacht. Fehlermeldung: Uncaught TypeError: strip_tags(): Argument #1 ($string) must be of type string, array given in /www/htdocs/.../wp/wp-content/plugins/adminimize/inc-setup/dashboard.php:161
    Stack trace:
    #0 /www/htdocs/.../wp/wp-content/plugins/adminimize/inc-setup/dashboard.php(161): strip_tags(Array)
    #1 /www/htdocs/.../wp/wp-content/plugins/adminimize/inc-setup/dashboard.php(36): _mw_adminimize_get_dashboard_widgets()
    #2 /www/htdocs/.../wp/wp-includes/class-wp-hook.php(307): _mw_adminimize_update_dashboard_widgets('')
    #3 /www/htdocs/.../wp/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #4 /www/htdocs/.../wp/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #5 /www/htdocs/.../wp/wp-admin/includes/dashboard.php(129): do_action('wp_dashboard_se...')
    #6 /www/htdocs/.../wp/wp-admin/index.php(15): wp_dashboard_setup()
    #7 {main}
      thrown

    Unfortunately, deactivating plugins + code snippets as a test did not help.
    Please support.

    Danke!
    Andreas

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Andreas

    (@perryzelda)

    Hi,
    just figured out, what caused the problem:
    the Plugin wp SEO (now by Kai Spriestersbach) in versions 4.7 an higher is not compatible with several other plugins.

    Deactivated it and installed now SEOPRess, what solved the problem.

    Thank you for switching to SEOPress ??

    Hi,
    I had the same problem: when opening the dashboard I got the following error messages:

    Warning: strip_tags() expects parameter 1 to be string, array given in plugins/adminimize/inc-setup/dashboard.php on line 161
    
    Warning: strip_tags() expects parameter 1 to be string, array given in plugins/adminimize/inc-setup/dashboard.php on line 161
    
    Warning: Cannot modify header information - headers already sent by (output started at plugins/adminimize/inc-setup/dashboard.php:161) in wp-admin/admin-header.php on line 9

    Thanks to Andreas’ tip I could solve the problem without deactivating wpSEO:

    Go to the wpSEO settings: Monitor -> “Show wpSEO Status on Dashboard”: disable checkbox and save settings

    Then everything works fine!

    Today I tried to switch to php 8.0 (the above warning was from php 7.4). And now I get an error (even if wpSEO is not active):

    PHP Fatal error: Uncaught TypeError: strip_tags(): Argument #1 ($string) must be of type string, array given in wp-content/plugins/adminimize/inc-setup/dashboard.php:161
    Stack trace:
    #0 wp-content/plugins/adminimize/inc-setup/dashboard.php(161): strip_tags()
    #1 wp-content/plugins/adminimize/inc-setup/dashboard.php(36): _mw_adminimize_get_dashboard_widgets()

    I just created a pull request on github to fix the error.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fehlermeldung’ is closed to new replies.