๐ŸŽ‰ Happy 4th of July! Get 15% off GP Premium with the discount code: 4THOFJULY2020

[Resolved] infinite scroll error

Home Forums Support infinite scroll error

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1128517
    dongsoon

    Hi

    1. My blog layout settings are below
    null

    2.But when i scroll down one of my category archive, for emample https://happist.com/category/case-studty/

    But I encounter a fatal error.
    The same menu appears under the menu and only the same contents are visible.

    See image below.

    View post on imgur.com

    Whtat can I do for fix this kind of error

    Thanks
    BR
    Dongsoon

    infinite scroll error

    #1128561
    David
    Staff
    Customer Support

    Hi there,

    do you have any custom functions added to the Site?

    #1128657
    dongsoon

    below codes is my mu-plugins php code

    add_action( 'wp_enqueue_scripts', 'child_enqueue_styles', 15 );
    
    /*
     * ์›Œ๋“œํ”„๋ ˆ์Šค ์‚ฌ์šฉ์ž์ด๋ฆ„(Username)์— ํ•œ๊ธ€ ๋“ฑ ๋น„๋ผํ‹ด์–ด ๋ฌธ์ž ํ—ˆ์šฉํ•˜๊ธฐ
     * Source: http://wordpress.stackexchange.com/questions/7328/allowing-non-latin-characters-in-registration
     * https://www.thewordcracker.com/intermediate/%EC%9B%8C%EB%93%9C%ED%94%84%EB%A0%88%EC%8A%A4-%ED%9A%8C%EC%9B%90-%EA%B0%80%EC%9E%85-%EC%8B%9C-%EC%82%AC%EC%9A%A9%EC%9E%90%EB%AA%85%EC%97%90-%ED%95%9C%EA%B8%80-%ED%97%88%EC%9A%A9%ED%95%98%EA%B8%B0/
     */
    add_filter('sanitize_user', 'non_strict_login', 10, 3);
    
    function non_strict_login( $username, $raw_username, $strict ) {
    
    if( !$strict )
    return $username;
    
    return sanitize_user(stripslashes($raw_username), false);
    }

    And below is my custom css codes

    <?php
    /**
     * Plugin Name: ํ“จ๋ฆฌํ”ผ์•„ 
     * Description: ํ“จ๋ฆฌํ”ผ์•„ ์‚ฌ์šฉ์ž ์ •์˜ 
     */
    
    // ์Šคํƒ€์ผ ์ •์˜ 
    add_action( 'wp_head', 'last_head_style', 99 );
    function last_head_style() { ?>
    <style>
     
     
     @font-face {
     font-family: '๋‚˜๋ˆ”๋ฐ”๋ฅธ๊ณ ๋”•';
     font-style: normal;
     font-weight: normal;
     font-display: swap;
     src: local('๋‚˜๋ˆ”๋ฐ”๋ฅธ๊ณ ๋”•'),local('NanumBarunGothic'),local('๋‚˜๋ˆ”๋ฐ”๋ฅธ๊ณ ๋”•OTF'),local('NanumBarunGothicOTF'),local('์• ํ”Œ SD ์‚ฐ๋Œ๊ณ ๋”• Neo'),local('Apple SD Gothic Neo'),local('Noto Sans'),local('Noto+Sans'),local('notokr-demilight'),local('๋‚˜๋ˆ”๊ณ ๋”•'),local('NanumGothic'),local('๋ง‘์€ ๊ณ ๋”•'),local('Malgun Gothic');
     src: url('https://happist.com/Font/nanumbarungothicregular.eot'); /*For IE6~8*/
     src: local(โ˜บ),
         url('https://happist.com/Font/nanumbarungothicregular.eot?#iefix') format('embedded-opentype'), 
         url('https://happist.com/font/nanumbarungothicregular.woff2') format('woff2'), 
         url('https://happist.com/font/nanumbarungothicregular.woff') format('woff'), 
         url('https://happist.com/font/nanumbarungothicregular.ttf') format('truetype'),
         url('https://happist.com/Font/notokr-demilight.svg') format('svg');
     }
    html, body, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video 
     {
        font-family: '์• ํ”Œ SD ์‚ฐ๋Œ๊ณ ๋”• Neo','Apple SD Gothic Neo','Helvetica Neue','Helvetica','๋‚˜๋ˆ”๋ฐ”๋ฅธ๊ณ ๋”•','NanumBarunGothic','๋‚˜๋ˆ”๋ฐ”๋ฅธ๊ณ ๋”•OTF','NanumBarunGothicOTF','Noto Sans','Noto+Sans','notokr-demilight','๋‚˜๋ˆ”๊ณ ๋”•','NanumGothic','๋ง‘์€ ๊ณ ๋”•','Malgun Gothic','sans-serif';
    
      vertical-align: baseline;
     }
    
     h1, h2, h3, h4, h5, h6
      {
        font-family: '์• ํ”Œ SD ์‚ฐ๋Œ๊ณ ๋”• Neo','Apple SD Gothic Neo','Helvetica Neue','Helvetica','๋‚˜๋ˆ”๋ฐ”๋ฅธ๊ณ ๋”•','NanumBarunGothic','๋‚˜๋ˆ”๋ฐ”๋ฅธ๊ณ ๋”•OTF','NanumBarunGothicOTF','Noto Sans','Noto+Sans','notokr-demilight','๋‚˜๋ˆ”๊ณ ๋”•','NanumGothic','๋ง‘์€ ๊ณ ๋”•','Malgun Gothic','sans-serif'!important;
    
      }
    
    /**
     * ํ…์ŠคํŠธ ๋„“์ด๋ฅผ ๋งค์šฐ ์ข๊ฒŒ  - ์ด๋ฏธ์ง€๊นŒ์ง€ ์ข์•„์ง
     */
    
    .entry-content>*:not(img) {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /**
     * ์ด๋ฏธ์ง€ ์•„๋ž˜ ์บก์…˜ ๋ฌธ๊ตฌ์˜ ํฐํŠธ ์‚ฌ์ด์ฆˆ ์กฐ์ • ๋“ฑ 
     */
    .wp-block-image figcaption {
         text-align: center;
         font-style: italic;
         font-size: 12px;
    /*     font-weight: bold; */
    }
    
    /**
     * Heading์— ์–ธ๋”๋ผ์ธ ํ‘œ์‹œ 
     * https://generatepress.com/forums/topic/underline-headers-h1-h2/
     */
    
    .single .entry-content h2{
        content: "";
        border-bottom: .18em solid #ffd100;
        line-height: 1.3em;
        bottom: 0.8em;
    }
    
    .single .entry-content h3,
    .single .entry-content h4,
    .single .entry-content h5{
      text-decoration: underline;
      text-decoration-color: #ffd100;
    }
    
    </style>
    <?php
    }
    

    Thanks

    #1128672
    David
    Staff
    Customer Support

    Do you have any scripts or functions added to GP Hooks?
    I am seeing an error related to Google Tag Manager code – can you try removing that code

    #1128699
    dongsoon

    Hi,

    I’m using CAOS plugin for Google tag manager. So I deactive this plugin deactive
    But the problems are not solved.

    What can i do?

    #1128700
    dongsoon

    And I have only 1 Element for post

    See images below.

    null
    null

    #1128714
    David
    Staff
    Customer Support

    Can you try disabling all plugins except for GP Premium and see if the error continues?

    #1129003
    dongsoon

    I use the following plug-in.

    Enlighter – Customizable Syntax Highlighter
    Accelerated Mobile Pages
    Advanced Ads
    Advanced Ads – Responsible Ads
    Advanced Gutenberg
    CAOS
    Disqus for WordPress
    Embedded Any Document
    GP Premium
    Stackable – Gutenberg Blocks (Premium)
    Yoast SEO

    Among these plug-ins, only Enlighter – Customizable Syntax Highlighter has a problem.

    Is there any way to find out what the problem is?

    #1129051
    Leo
    Staff
    Customer Support

    So the issue is resolved when you disabled Enlighter โ€“ Customizable Syntax Highlighter?

    If so you will need to check with their support.

    #1129312
    dongsoon

    So the issue is resolved when you disabled Enlighter โ€“ Customizable Syntax Highlighter?

    Yes!!

    But I want to solve compatibility problem because I have been using this plug-in for a long time.
    Is there no solution to this problem?

    #1129314
    Leo
    Staff
    Customer Support

    It’s not really a compatibility issue.

    Sounds like that plugin is triggering a js error which causes our infinite script to not work.

    When there is a js error somewhere, it actually stops all js from working.

    I’d recommend reporting to the error to the plugin author or find an alternative.

    #1129319
    dongsoon

    OK
    Thanks for your advices

    I’ll find an alternative

    Thanks

    #1129337
    Leo
    Staff
    Customer Support
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.