• I updated wordpress on my dashboard and now my website is not showing galleries correctly. I get this Warning code on my webpage:
    Warning: Invalid argument supplied for foreach() in /home/dunoirfi/public_html/wp-content/plugins/nextgen-gallery/pope/lib/class.component_registry.php on line 610

    Warning: Cannot modify header information – headers already sent by (output started at /home/dunoirfi/public_html/wp-content/plugins/nextgen-gallery/pope/lib/class.component_registry.php:610) in /home/dunoirfi/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 60

    I try to click on update in wordpress dashboard and receive this message:
    Exception thrown

    add_post_hook not defined for ExtensibleObject

    Any help would be much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    I found this thread by having the same errors. by disabling NextGen and NextGen Plus, everything came back okay so I knew it was tied to those. It ended up being the NextGen Plug add-on so I completed uninstalled/deleted it, re-downloaded a new verson from next-gen and re-installed it. Everything good now.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Excellent, please make sure you let them know: https://wordpress.org/support/plugin/nextgen-gallery

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Updated WordPress Warning Code Showing’ is closed to new replies.