WordPress.org

Ready to get started?Download WordPress

Forums

AdRotate
[resolved] Latest update broke my site (7 posts)

  1. Eclectablog
    Member
    Posted 1 year ago #

    When I updated to the latest version on 8/1/2013, my site went down. I rolled back to my previous evening's back up and that solved the problem unless I deactivate it or delete it. If I do either of those things, my site goes down. The page loads blank with just the title at the top very top of the browser. How can I delete the plugin without taking down my site? The site is http://eclectablog.com.

    http://wordpress.org/plugins/adrotate/

  2. Arnan de Gans
    Member
    Plugin Author

    Posted 1 year ago #

    Are there any errors in the error_log of your server mentioning AdRotate around the time you updated?

    Check out this thread http://wordpress.org/support/topic/parse-error-200?replies=6

  3. Eclectablog
    Member
    Posted 1 year ago #

    Well, we lost the error log from immediately after I updated since we had to roll back to last night's back up. Below are error codes that came about from me deactivating the plugin. I'm wondering if it's that call-out in my header <?php echo adrotate_ad(1); ?>
    ----------------
    [Wed Jul 31 22:29:00 2013] [warn] [client 173.245.56.247] mod_fcgid: stderr: PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/vhosts/eclectablog.com/httpdocs/wp-includes/comment.php on line 1673
    [Wed Jul 31 22:29:00 2013] [warn] [client 173.245.56.247] mod_fcgid: stderr: PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/eclectablog.com/httpdocs/wp-includes/functions.php on line 470
    [Wed Jul 31 22:29:00 2013] [warn] [client 173.245.56.247] mod_fcgid: stderr: PHP Warning: substr() expects parameter 1 to be string, array given in /var/www/vhosts/eclectablog.com/httpdocs/wp-includes/functions.php on line 470
    [Wed Jul 31 22:36:04 2013] [warn] [client 173.245.56.247] mod_fcgid: stderr: PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/vhosts/eclectablog.com/httpdocs/wp-includes/comment.php on line 1673
    [Wed Jul 31 22:36:04 2013] [warn] [client 173.245.56.247] mod_fcgid: stderr: PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/eclectablog.com/httpdocs/wp-includes/functions.php on line 470
    [Wed Jul 31 22:36:04 2013] [warn] [client 173.245.56.247] mod_fcgid: stderr: PHP Warning: substr() expects parameter 1 to be string, array given in /var/www/vhosts/eclectablog.com/httpdocs/wp-includes/functions.php on line 470
    [Thu Aug 01 00:49:38 2013] [warn] [client 173.245.56.247] mod_fcgid: stderr: WordPress database error Unknown column 'Array' in 'where clause' for query DELETE FROM wp_wordbooker_postcomments WHERE wp_comment_id = Array and blog_id=1 made by do_action_ref_array, call_user_func_array, akismet_delete_old, do_action('delete_comment'), call_user_func_array, wordbooker_delete_comment, wordbooker_delete_comment_from_commentlogs
    [Thu Aug 01 12:45:51 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Thu Aug 01 12:45:51 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
    [Thu Aug 01 13:01:10 2013] [warn] [client 108.162.245.222] mod_fcgid: stderr: PHP Fatal error: Call to undefined function adrotate_ad() in /var/www/vhosts/eclectablog.com/httpdocs/wp-content/themes/canvas/header.php on line 37
    [Thu Aug 01 13:01:16 2013] [warn] [client 141.101.80.100] mod_fcgid: stderr: PHP Fatal error: Call to undefined function adrotate_ad() in /var/www/vhosts/eclectablog.com/httpdocs/wp-content/themes/canvas/header.php on line 37
    [Thu Aug 01 13:01:17 2013] [warn] [client 173.245.48.214] mod_fcgid: stderr: PHP Fatal error: Call to undefined function adrotate_ad() in /var/www/vhosts/eclectablog.com/httpdocs/wp-content/themes/canvas/header.php on line 37
    [Thu Aug 01 13:01:19 2013] [warn] [client 141.101.99.78] mod_fcgid: stderr: PHP Fatal error: Call to undefined function adrotate_ad() in /var/www/vhosts/eclectablog.com/httpdocs/wp-content/themes/canvas/header.php on line 37
    [Thu Aug 01 13:01:35 2013] [warn] [client 108.162.216.43] mod_fcgid: stderr: PHP Fatal error: Call to undefined function adrotate_ad() in /var/www/vhosts/eclectablog.com/httpdocs/wp-content/themes/canvas/header.php on line 37
    [Thu Aug 01 13:01:36 2013] [warn] [client 108.162.216.43] mod_fcgid: stderr: PHP Fatal error: Call to undefined function adrotate_ad() in /var/www/vhosts/eclectablog.com/httpdocs/wp-content/themes/canvas/header.php on line 37
    [Thu Aug 01 13:01:38 2013] [warn] [client 108.162.237.101] mod_fcgid: stderr: PHP Fatal error: Call to undefined function adrotate_ad() in /var/www/vhosts/eclectablog.com/httpdocs/wp-content/themes/canvas/header.php on line 37, referer: https://www.google.com/
    [Thu Aug 01 13:01:38 2013] [warn] [client 108.162.219.28] mod_fcgid: stderr: PHP Fatal error: Call to undefined function adrotate_ad() in /var/www/vhosts/eclectablog.com/httpdocs/wp-content/themes/canvas/header.php on line 37, referer: http://www.eclectablog.com/wp-admin/

  4. Arnan de Gans
    Member
    Plugin Author

    Posted 1 year ago #

    Other than the "undefined function" errors it seems like none of this applies to AdRotate.
    If you activate the plugin those should go away.

    All other errors are in files that are not related to or used by AdRotate.

    The certificate errors are because you have mod_ssl (or similar) active but no valid certificate on your server. Consult with your webhost for details on this.

    Did you follow the steps in the earlier linked post?

  5. Eclectablog
    Member
    Posted 1 year ago #

    We're going to try to reinstall the plugin manually this evening, if that's what you mean. Is this the link you're talking about?

    http://www.adrotateplugin.com/support/knowledgebase/installing-adrotate-on-your-website/

    The plugin IS activated right now. When I deactivate it, it takes the site down, just like when I updated to the new version. Can you think of any reason why that would be true?

    I have deleted the errant call out of Adrotate in my header (<?php echo adrotate_ad(1); ?>) and that did not solve the problem.

    There is something else going on and I can't figure it out. What it means is that I am stuck with the current version, can't upgrade it, and can't deactivate or delete it. It's quite frustrating as you might imagine.

  6. Eclectablog
    Member
    Posted 1 year ago #

    Manual reinstallation did work. Thanks for you time and help.

  7. Arnan de Gans
    Member
    Plugin Author

    Posted 1 year ago #

    Oh yes, I didn't pay attention to the earlier post. Busy, the crazy heat... Take your pick.
    I thought I linked to the manual here. But it was the topic instead... Oops.

    I indeed meant this link:
    http://www.adrotateplugin.com/support/knowledgebase/installing-adrotate-on-your-website/

    Good you figured it out :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.