Support » Plugin: Advanced Ads – Ad Manager & AdSense » Adsense verification code makes my site crash

  • Resolved free games

    (@free-games)


    Hello,
    In Advanced ads settings, I checked the option to insert adsense verification code in header. But when it’s done, my wordpress site can’t start. To see the site, I have to stop the page loading.
    I don’t know how to fix it. Maybe it is because of my theme, ‘Magazina’.
    Can any one help me?

    • This topic was modified 1 month ago by  .

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi free games,

    I am sorry to read that one of our features crashes your site. It is the first time I hear that the AdSense verification code option causes an issue like that, so it might indeed be caused by something on your site.

    Before we start debugging this together I would like to know your technical level. Would you feel comfortable enabling WP_DEBUG_LOG while reproducing the error again? This might help to find the cause.

    Thanks,
    Thomas

    free games

    (@free-games)

    Hello Thomas,
    Thanks so much for answering so fast. I’d say my level is medium minus. I can read htlm code, understand some php codes. I never used WP Debug Log.
    For now I have to remove the verification code from my site, there is some traffice this afternoon (I’m in France).
    I will also check how to use WP Debug Log, I will try to see by myself tonight and tell you.
    Thanks, Jennie.

    free games

    (@free-games)

    Hello Thomas,
    I inserted a Adsense in-article ad only on this post : https://bt21.fr/kpop/scenery-la-chanson-ecrite-par-v/
    The page is always loading.
    I tried to activate the WP Debug Log in my wp-config.php :

    define(‘WP_DEBUG’, true);

    // Activer l’enregistrement de débogage dans le fichier /wp-content/debug.log
    define(‘WP_DEBUG_LOG’, true);

    /* That’s all, stop editing! Happy blogging. */

    But it doesn’t seem to work, there is no debug.log file in /wp-content/ repertory.
    Can you help me?

    free games

    (@free-games)

    I finally had this in the debug.log file :

    [22-May-2019 02:08:14 UTC] Erreur de la base de données WordPress Deadlock found when trying to get lock; try restarting transaction pour la requête DELETE FROM mod244_options WHERE option_name = ‘_transient_timeout_jetpack_sync_last_checked_queue_state_sync’ faite par wp_signon, wp_authenticate, do_action(‘wp_login_failed’), WP_Hook->do_action, WP_Hook->apply_filters, Jetpack_Protect_Module->log_failed_attempt, do_action(‘jpp_log_failed_attempt’), WP_Hook->do_action, WP_Hook->apply_filters, Jetpack_Sync_Module_Protect->maybe_log_failed_login_attempt, do_action(‘jetpack_valid_failed_login_attempt’), WP_Hook->do_action, WP_Hook->apply_filters, Jetpack_Sync_Listener->action_handler, Jetpack_Sync_Listener->enqueue_action, Jetpack_Sync_Listener->can_add_to_queue, get_transient, delete_option

    Plugin Author Thomas Maier

    (@webzunft)

    Hi Jennie,

    thanks for setting up debug.log. The error you got comes from Jetpack. I cannot say if it is connected to the issue you experienced with the Auto ads code, though.

    The In-article ad unit seems to work well, right? Is there still an issue when you enable Auto ads through Advanced Ads?

    Thanks,
    Thomas

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