Support » Plugin: Advanced Ads – Ad Manager & AdSense » Plugin crashes after latest update

  • Resolved sirtaptap

    (@sirtaptap)


    Autoupdated to the latest version and wordpress’s safe mode triggered on any admin page:

    An error of type E_ERROR was caused in line 71 of the file /var/www/html/wp-content/plugins/advanced-ads/admin/includes/class-menu.php. Error message: Uncaught Error: Call to undefined method Advanced_Ads_Plugin::get_icon_svg() in /var/www/html/wp-content/plugins/advanced-ads/admin/includes/class-menu.php:71
    Stack trace:
    #0 /var/www/html/wp-includes/class-wp-hook.php(287): Advanced_Ads_Admin_Menu->add_plugin_admin_menu()
    #1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /var/www/html/wp-admin/includes/menu.php(155): do_action()
    #4 /var/www/html/wp-admin/menu.php(326): require_once(‘/var/www/html/w…’)
    #5 /var/www/html/wp-admin/admin.php(153): require(‘/var/www/html/w…’)
    #6 /var/www/html/wp-admin/plugins.php(10): require_once(‘/var/www/html/w…’)
    #7 {main}
    thrown

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Thomas M

    (@webzunft)

    Hi sirtaptap,

    thanks for reaching out.

    I ran the update on a couple of sites and couldn’t reproduce the issue.

    How are you auto-updating plugins? It looks like an old version of one class was not updated, which should not be possible when updating through WordPress.

    Thanks,
    Thomas

    sirtaptap

    (@sirtaptap)

    It’s with Jetpack’s auto update (which I’ve had trouble with in the past and have now disabled).

    I did uninstall and reinstall the plugin through wordpress and got the same error, but just now I tried again and it seems to be working again. Going to guess it’s Jetpack’s fault if no one else is having the issue.

    jonjuk

    (@jonjuk)

    I also had the same issue when installing the latest Advanced Ads Pro just now. My site then just said “THERE HAS BEEN A CRITICAL ERROR ON YOUR WEBSITE”

    To get around it I re-named the plugins folder to pluginsOLD, logged into my dashboard, re-named the folder back to plugins and then re-activated all the plugins… it was a bit worrying for a while there…

    Plugin Author Thomas M

    (@webzunft)

    Hi @jonjuk, are you also using Jetpack auto-updates?

    Updates for the base version and Advanced Ads Pro are different. The first is coming from the wordpress.org server, the latter from ours.

    As a client, please reach out through our customer support to get help with Pro.

    Thanks,
    Thomas

    jonjuk

    (@jonjuk)

    I don’t have anything auto updating. I just updated it through the Installed Plugins section.

    It’s all sorted now thanks so won’t bother raising a support ticket unless there’s a log you want me to send in to you?

    Plugin Author Thomas M

    (@webzunft)

    Thanks for your feedback. I am happy to read that you found a way to update Pro. Please don’t hesitate to reach out through customer support if something similar happens again. As the developer, I would like to get a chance to take a look and gather as much information as possible.

    Thomas

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.