AdRotate – Fatal error on activation

HomeForumsAdRotate for WordPressBug ReportsAdRotate – Fatal error on activation

  • #114472

    dmartinv
    Badges:

    Hi there!
    Today get a mail from my site optimoda.es telling that has technical issues. In the mail click a link that puts my site in “recovery mode” and the AdRote plugin is the cause. Deactive the plugin and the site respond OK, but when try to reactivate the plugin get this fatal error message:

    Fatal error: Uncaught Error: Call to a member function get_error_code() on array in /home/optimodahd/www/wp-content/plugins/adrotate-pro/library/update-api.php:123 Stack trace: #0 /home/optimodahd/www/wp-content/plugins/adrotate-pro/adrotate-setup.php(99): adrotate_update_check() #1 /home/optimodahd/www/wp-content/plugins/adrotate-pro/adrotate-setup.php(32): adrotate_activate_setup() #2 /home/optimodahd/www/wp-includes/class-wp-hook.php(287): adrotate_activate(”) #3 /home/optimodahd/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #4 /home/optimodahd/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/optimodahd/www/wp-admin/plugins.php(193): do_action(‘activate_adrota…’) #6 {main} thrown in /home/optimodahd/www/wp-content/plugins/adrotate-pro/library/update-api.php on line 123

    WordPress 5.5.1
    Theme: Newspaper version: 8.8.2

    Please help me, I’m not a tech savvy!
    Cheers!

    #114485

    dmartinv
    Badges:

    My version of AdRoate PRO duo is 5.8.6

    #114504

    There is no get_error_code() on line 123 or adrotate-api.php in AdRotate Pro.
    If you’ve updated or installed the plugin recently, make sure all files are there and are of the right version.

    This is easiest done by simply downloading a new copy from your account on this site and uploading all files in one go, overwriting the current ones.

    #114545

    dmartinv
    Badges:

    Hi Arnan, thanks for the answer.

    I have downloaded a version as you indicated, I have overwritten the files in the AdrotatePro folder via Filezilla and I have tried to activate the plugin with no luck. It keeps giving me fatal error.
    Then I have tried to delete the plugin from the WordPress panel and I have not been able either, it gives a critical error.
    I have successfully deleted it via Filezilla, I installed it via the WordPress panel and it gave me a fatal error again.

    Fatal error: Uncaught Error: Call to a member function get_error_code() on array in /home/optimodahd/www/wp-content/plugins/adrotate-pro/library/update-api.php:123 Stack trace: #0 /home/optimodahd/www/wp-content/plugins/adrotate-pro/adrotate-setup.php(99): adrotate_update_check() #1 /home/optimodahd/www/wp-content/plugins/adrotate-pro/adrotate-setup.php(32): adrotate_activate_setup() #2 /home/optimodahd/www/wp-includes/class-wp-hook.php(287): adrotate_activate(”) #3 /home/optimodahd/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #4 /home/optimodahd/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/optimodahd/www/wp-admin/plugins.php(193): do_action(‘activate_adrota…’) #6 {main} thrown in /home/optimodahd/www/wp-content/plugins/adrotate-pro/library/update-api.php on line 123

    So I had to download the free version 5.8.10 of the plugin so that my clients’ ads continue to appear on the web.
    But I would need to know if there is any solution since with the free version I have lost the programming, I do not have the compatibility with the mobile phone and I cannot measure the statistics as I would like.

    Can you help me in any way?
    thanks!

    #115788

    I have been doing some tests but I can’t reproduce that error.
    If there is an error connecting to my update server there is an error code, and if it works that function isn’t called.

    Make sure you have the latest version of WordPress installed and that you are indeed using the latest version of AdRotate Pro, which is 5.8.6.

    #116754

    This has been fixed in version 5.8.7.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘AdRotate – Fatal error on activation’ is closed to new replies.

You may be interested in