Hi, it looks like the lazy load from Soledad has a Syntax Error "unexpected token". Please check the attachment. How can this issue be solved? This syntax error is everywhere - blog posts, pages, categories, etc. Thank you in advance.
All the css codes I have inserted in Customize are from Soledad support. And only one for the PHP also from Soledad. Nothing else was edited or added. Which one may cause Syntax errors in the lazy load? Here there are the css codes from Customize and the one PHP code for the snippet extension:
#navigation .penci-megamenu .penci-mega-child-categories a, .pc-builder-element.pc-main-menu .navigation .menu li .penci-mega-child-categories a { font-size: 18px; }
add_filter( 'woocommerce_continue_shopping_redirect', 'wc_custom_redirect_continue_shopping' ); function wc_custom_redirect_continue_shopping() { //return your desired link here. return 'https://lillagreen.com/shop/'; }
As I wrote in a previous reply: you should create a staging site and then send me the WordPress admin account. I need to check and debug all the plugins you've installed and update directly to your site.
Hi, it looks like the lazy load from Soledad has a Syntax Error "unexpected token". Please check the attachment. How can this issue be solved? This syntax error is everywhere - blog posts, pages, categories, etc. Thank you in advance.
Attached files: IMG-20231106-WA0001.jpg
IMG-20231106-WA0002.jpg
IMG-20231106-WA0003.jpg
IMG-20231106-WA0004.jpg
Hi,
Please check all the custom JS codes you've entered, this error only shows when you've inserted the wrong JS code.
Regards,
PenciDesign.
All the css codes I have inserted in Customize are from Soledad support. And only one for the PHP also from Soledad. Nothing else was edited or added. Which one may cause Syntax errors in the lazy load? Here there are the css codes from Customize and the one PHP code for the snippet extension:
.penci-toc-container-wrapper.penci-sticky-toc {
display: none !important;
}
body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details {
width: 100%;
}
.penci-megamenu,
.penci-megamenu span,
.penci-megamenu p,
.penci-megamenu h3,
.penci-megamenu h3 a {
font-family: 'BebasNeue' !important;
}
#navigation .penci-megamenu .penci-mega-child-categories a,
.pc-builder-element.pc-main-menu .navigation .menu li .penci-mega-child-categories a {
font-size: 18px;
}
@media only screen and (max-width:479px) {
body.elementor-page .penci-single-smore .container,
body.elementor-page .penci-post-image-wrapper > .container,
body.elementor-page .wrapper-boxed > .container,
body.elementor-page .wrapper-boxed > .penci-single-wrapper > .penci-single-block > .container,
body.elementor-page #widget-area > .container,
body.elementor-page #footer-section > .container,
body.elementor-page .penci-two-sidebar .container.penci-breadcrumb,
body.elementor-page .penci-page-header-wrap .penci-page-header-inner.container,
body.elementor-page .penci-page-header-wrap {
padding-left: 5px;
padding-right: 5px;
}
}
.woocommerce #content table.cart .product-thumbnail,
.woocommerce table.cart .product-thumbnail,
.woocommerce-page #content table.cart .product-thumbnail,
.woocommerce-page table.cart .product-thumbnail {
display: block;
text-align: center !important;
margin-left: auto;
margin-right: auto;
}
@media only screen and (max-width:767px) {
.woocommerce table.shop_table_responsive tr td:before,
.woocommerce-page table.shop_table_responsive tr td:before {
display: none !important;
}
.woocommerce-cart table.cart img {
width: 120px;
height: auto;
}
}
@media only screen and (max-width: 767px) {
.penci-top-bar .penci-login-popup-btn a {
font-size: inherit;
margin: 0;
vertical-align: top;
line-height: 14px;
}
.penci-top-bar .pclogin-item {
vertical-align: top;
}
}
@media only screen and (max-width:767px) {
.woocommerce .thumbnail-left .penci-single-product-top-container .product-labels {
left: auto;
right: 10px;
top: 10px;
}
}
@media only screen and (max-width:767px) {
.woocommerce table.shop_table_responsive tr td,
.woocommerce-page table.shop_table_responsive tr td {
padding-right: 10px;
padding-left: 10px;
padding: 5px;
}
.woocommerce-cart table.cart img {
width: 100px;
height: auto;
}
}
body.woocommerce-checkout {
padding: 60px 0 0;
}
body.woocommerce-checkout .penci-header-wrap,
body.woocommerce-checkout .footer-instagram,
body.woocommerce-checkout #footer-section {
display: none;
}
body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details {
width: 100%;
}
body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
width: 100%;
}
body.woocommerce-checkout form.checkout.woocommerce-checkout #payment {
width: 100%;
}
body.woocommerce-cart {
padding: 60px 0 0;
}
body.woocommerce-cart .footer-instagram,
body.woocommerce-cart #footer-section {
display: none;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
border-color: #000 transparent transparent transparent !important;
}
body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review,
body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-checkout-review-order-inner {
padding: 0;
}
.e-checkout__order_review-2 {
margin-top: 10px;
}
#wcj-currency-select {
border: 0;
padding: 20px 30px;
}
@media only screen and (min-width:961px) {
.woocommerce #content table.cart .product-thumbnail,
.woocommerce table.cart .product-thumbnail,
.woocommerce-page #content table.cart .product-thumbnail,
.woocommerce-page table.cart .product-thumbnail {
display: table-cell;
}
}
PHP Snippet:
add_filter( 'woocommerce_continue_shopping_redirect', 'wc_custom_redirect_continue_shopping' );
function wc_custom_redirect_continue_shopping() {
//return your desired link here.
return 'https://lillagreen.com/shop/';
}
Hi,
Please re-send me the WordPress admin account, I'll help you check it.
Regards,
PenciDesign.
Hi, is there any update on this ticket? Thank you!
Hi,
I still checking your site settings.
Regards,
PenciDesign.
Thank you so much! Please let me know what you have changed if you change something in the settings ...
do you have any Update?
Hi,
I will work on updating and resolving this issue for your site today. Thank you for your patience, and I'll keep you updated on the progress.
Regards,
PenciDesign.
Thank you. Please send me an update today when you have solved it :)
Do you have any update for this ticket? Thank you
Hi, if you change /delete/deactivate something - please make a protocol and share it with me. I have to follow up on all the changes. thank you
Update?!!?!
hello, do you have any update?
Hi,
As I wrote in a previous reply: you should create a staging site and then send me the WordPress admin account. I need to check and debug all the plugins you've installed and update directly to your site.
Please follow the document at this link to understand how to create a staging site: https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
Regards,
PenciDesign.