Archived topic
infinite scroll error
12 replies · Started by dongsoon on January 10, 2020
Hi
1. My blog layout settings are below

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.
https://i.imgur.com/RtkV9um.png
Whtat can I do for fix this kind of error
Thanks
BR
Dongsoon
infinite scroll error
Hi there,
do you have any custom functions added to the Site?
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
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
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?
And I have only 1 Element for post
See images below.


Can you try disabling all plugins except for GP Premium and see if the error continues?
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?
So the issue is resolved when you disabled Enlighter – Customizable Syntax Highlighter?
If so you will need to check with their support.
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?
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.
OK
Thanks for your advices
I'll find an alternative
Thanks
No problem :)