Unknown error

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: not resolved
  • This topic has 10 replies, 2 voices, and was last updated 4 y, 10 mo by  Erick.
Viewing 10 reply threads
  • Author
    Posts
    • #14230

      Erick
      Member

      why am I getting this?

      https://goo.gl/photos/GpjDzQU6zTvjMYW59

      this is basically the line

      add_filter( ‘yt_site_head_ads’, ‘custom_head_ads_tue04820140638’ );

      function custom_head_ads_tue04820140638( $ads_content ){
      if( is_home() || is_front_page() || is_page() )
      $ads_content = ”;

      return $ads_content;
      }

      add_filter( ‘yt_site_foot_ads’, ‘custom_foot_ads_tue04820140638’ );

      function custom_foot_ads_tue04820140638( $ads_content ){
      if( !is_home() && !is_front_page() )
      $ads_content = ”;

      return $ads_content;
      }

      What happens is that it blocks the main page, I have to reload it at least 10 times before it lets me go through

    • #14231

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #14238

      Erick
      Member

      Nope. Still same issue. Strange

    • #14239

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #14246

      Erick
      Member
      This reply has been marked as private.
    • #14255

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #14259

      Erick
      Member

      Yes it does. At least once every 2 days.

    • #14260

      Erick
      Member

      It just happened right now. and I was using and incognito window. So was clear of caches

    • #14261

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #14287

      Erick
      Member

      I did but this has nothing to do with. would it be simple to just remove the line? perhaps hide it using css?

      • This reply was modified 4 y, 11 mo by  Erick.
      • This reply was modified 4 y, 11 mo by  Erick.
    • #14374

      Erick
      Member

      I deleted the line. Has not given problems since then

Viewing 10 reply threads
  • You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2021 by wpthms.com. All Rights Reserved.