-
Search Results
-
Topic: Images/Lightbox Issues
Hello Support-team,
I have Images/Lightbox Issues, thank you so much for help. Here are the details:– Error exists since the Enfold update from 4.5.7 to the current 5.6.2.
– PHP version is 8.0
– Regarding desktop & mobile version (Windows, Android)
– All PlugIns were deactivated once, brought no success
– Issue with all linked images as well as with lightbox effect (linked, arrow)
– Issue e.g. visible on homepage https://111manufaktur.de/ and on https://111manufaktur.de/blog/
Home page https://111manufaktur.de/: Previously the backed image was directly visible (transparent effect) and no black element was visible previouslyIn the blog https://111manufaktur.de/blog/
On mouseover there is an error and the background image turns white – Normally the background image should continue to show through. Also, the arrows/lightbox elements (image link) sometimes sit at wrong positions.// —————– German
Bilder/Lightbox-Probleme
– Fehler besteht seit dem Enfold Update von 4.5.7 auf das aktuelle 5.6.2.
– PHP Version ist 8.0
– In Desktop & mobiler Version (Windows, Android)
– Alle PlugIns wurden einmal deaktiviert, brachte keinen Erfolg
– Fehler bei allen verlinkten Bildern sowie mit Lightbox-Effekt (verlinkt, Pfeil)
– Fehler z. B. sichtbar auf Startseite https://111manufaktur.de/ und auf https://111manufaktur.de/blog/Startseite https://111manufaktur.de/: Vorher war das hinterlegte Bild direkt sichtbar (transparent Effekt) und kein schwarzes Element vorher sichtbar
Im Blog https://111manufaktur.de/blog/
Beim Mouseover gibt es einen Fehler und das Hintergrund-Bild wird weiß – Normalerweise sollte das Hintergrund-Bild weiter durchscheinen. Auch sitzen die Pfeile/Lightbox-Elemente (Bild-Link) teilweise an falschen Positionen.I am running WP 6.2.2, Enfold 5.6.1, and PHP 7.3 (anything higher crashes my site).
When I activate WooCommerce it displays an error “There has been a critical error on this website. Please check your site admin email inbox for instructions”. No email is ever received. I also get an HTTP Error 500 when trying to open the Products page. This only happens when Enfold is active. The only other plugin active is SSL Insecure Content Fixer 2.7.2.
I created a fresh install to test it, with no other plugins installed. Worked fine on the base theme, but when I installed Enfold the same happened.
I have followed directions from other threads, none of which have worked, Specifically:
Added the below to htaccess –
########
php_value upload_max_filesize 50M
php_value post_max_size 50M
php_value max_execution_time 500
php_value max_input_time 500
#########And added the below to config –
define(‘WP_MEMORY_LIMIT’, ‘128M’);Urgently trying to get this working but going round in circles now. Any help appreciated.
Topic: Error woocommerce
Hi Kriesi,
I’m using the advanced editor for woocommerce products but it no longer shows me the prices of the variations when they are selected.
The WP version is Version 6.2.2, child theme 5.5, PHP 8.0.28.I leave you the woocommerce log, can you help me?
2023-06-12T14:44:08+00:00 CRITICAL Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /home/dsomluxl/public_html/wp-includes/formatting.php:1596 Stack trace: #0 /home/dsomluxl/public_html/wp-includes/formatting.php(1596): preg_match('/[\\x80-\\xff]/', Array) #1 /home/dsomluxl/public_html/wp-includes/formatting.php(2208): remove_accents(Array) #2 /home/dsomluxl/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3158): sanitize_title(Array) #3 /home/dsomluxl/public_html/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php(45): wc_dropdown_variation_attribute_options(Array) #4 /home/dsomluxl/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/dsomluxl/...') #5 /home/dsomluxl/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1748): wc_get_template('single-product/...', Array) #6 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_button.php(177): woocommerce_variable_add_to_cart() #7 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_produc_button->shortcode_handler(Array, '', 'av_product_butt...', Array) #8 /home/dsomluxl/public_html/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '', 'av_product_butt...') #9 [internal function]: do_shortcode_tag(Array) #10 /home/dsomluxl/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_pro...', 'do_shortcode_ta...', '[av_textblock t...') #11 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(580): do_shortcode('[av_textblock t...') #12 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-shortcodes/columns/columns.php(1937): ShortcodeHelper::avia_apply_autop('<p>[av_textbloc...') #13 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_columns->shortcode_handler(Array, '\n[av_textblock ...', 'av_one_half', Array) #14 /home/dsomluxl/public_html/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '\n[av_textblock ...', 'av_one_half') #15 [internal function]: do_shortcode_tag(Array) #16 /home/dsomluxl/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_one...', 'do_shortcode_ta...', '\n[av_one_half f...') #17 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(559): do_shortcode('\n[av_one_half f...') #18 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-shortcodes/section/section.php(1349): ShortcodeHelper::avia_remove_autop('\n[av_one_half f...', true) #19 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_section->shortcode_handler(Array, '\n[av_one_half f...', 'av_section', Array) #20 /home/dsomluxl/public_html/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '\n[av_one_half f...', 'av_section') #21 [internal function]: do_shortcode_tag(Array) #22 /home/dsomluxl/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_but...', 'do_shortcode_ta...', '[av_section min...') #23 /home/dsomluxl/public_html/wp-includes/class-wp-hook.php(308): do_shortcode('[av_section min...') #24 /home/dsomluxl/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('[av_section min...', Array) #25 /home/dsomluxl/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(115): apply_filters('the_content', '[av_section min...') #26 /home/dsomluxl/public_html/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(207): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build(Object(Yoast\WP\SEO\Models\Indexable), '[av_section min...') #27 /home/dsomluxl/public_html/wp-includes/class-wp-hook.php(310): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable(363) #28 /home/dsomluxl/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #29 /home/dsomluxl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #30 /home/dsomluxl/public_html/wp-includes/post.php(4726): do_action('wp_insert_post', 363, Object(WP_Post), true) #31 /home/dsomluxl/public_html/wp-includes/post.php(4817): wp_insert_post(Array, false, true) #32 /home/dsomluxl/public_html/wp-admin/includes/post.php(439): wp_update_post(Array) #33 /home/dsomluxl/public_html/wp-admin/post.php(227): edit_post() #34 {main} thrown in /home/dsomluxl/public_html/wp-includes/formatting.php alla riga 1596 2023-06-12T14:51:10+00:00 CRITICAL Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /home/dsomluxl/public_html/wp-includes/formatting.php:1596 Stack trace: #0 /home/dsomluxl/public_html/wp-includes/formatting.php(1596): preg_match('/[\\x80-\\xff]/', Array) #1 /home/dsomluxl/public_html/wp-includes/formatting.php(2208): remove_accents(Array) #2 /home/dsomluxl/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3158): sanitize_title(Array) #3 /home/dsomluxl/public_html/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php(45): wc_dropdown_variation_attribute_options(Array) #4 /home/dsomluxl/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/dsomluxl/...') #5 /home/dsomluxl/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1748): wc_get_template('single-product/...', Array) #6 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_button.php(177): woocommerce_variable_add_to_cart() #7 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_produc_button->shortcode_handler(Array, '', 'av_product_butt...', Array) #8 /home/dsomluxl/public_html/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '', 'av_product_butt...') #9 [internal function]: do_shortcode_tag(Array) #10 /home/dsomluxl/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_pro...', 'do_shortcode_ta...', '[av_textblock t...') #11 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(580): do_shortcode('[av_textblock t...') #12 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-shortcodes/columns/columns.php(1937): ShortcodeHelper::avia_apply_autop('<p>[av_textbloc...') #13 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_columns->shortcode_handler(Array, '\n[av_textblock ...', 'av_one_half', Array) #14 /home/dsomluxl/public_html/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '\n[av_textblock ...', 'av_one_half') #15 [internal function]: do_shortcode_tag(Array) #16 /home/dsomluxl/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_one...', 'do_shortcode_ta...', '\n[av_one_half f...') #17 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(559): do_shortcode('\n[av_one_half f...') #18 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-shortcodes/section/section.php(1349): ShortcodeHelper::avia_remove_autop('\n[av_one_half f...', true) #19 /home/dsomluxl/public_html/wp-content/themes/psicologanicolettacarta/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_section->shortcode_handler(Array, '\n[av_one_half f...', 'av_section', Array) #20 /home/dsomluxl/public_html/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '\n[av_one_half f...', 'av_section') #21 [internal function]: do_shortcode_tag(Array) #22 /home/dsomluxl/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_but...', 'do_shortcode_ta...', '[av_section min...') #23 /home/dsomluxl/public_html/wp-includes/class-wp-hook.php(308): do_shortcode('[av_section min...') #24 /home/dsomluxl/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('[av_section min...', Array) #25 /home/dsomluxl/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(115): apply_filters('the_content', '[av_section min...') #26 /home/dsomluxl/public_html/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(207): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build(Object(Yoast\WP\SEO\Models\Indexable), '[av_section min...') #27 /home/dsomluxl/public_html/wp-includes/class-wp-hook.php(310): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable(363) #28 /home/dsomluxl/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #29 /home/dsomluxl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #30 /home/dsomluxl/public_html/wp-includes/post.php(4726): do_action('wp_insert_post', 363, Object(WP_Post), true) #31 /home/dsomluxl/public_html/wp-includes/post.php(4817): wp_insert_post(Array, false, true) #32 /home/dsomluxl/public_html/wp-admin/includes/post.php(439): wp_update_post(Array) #33 /home/dsomluxl/public_html/wp-admin/post.php(227): edit_post() #34 {main} thrown in /home/dsomluxl/public_html/wp-includes/formatting.php alla riga 1596Topic: Toggle hidden color section
Hey guys,
i love enfold. using it since 2015 and i am still impressed by every new version.
My problem:
i have a button with the class “.trigger1” and a section (that is hidden by default) named “#hide1”.
So whenever i´m hovering an element with that class, the hidden section fades in.
therefore i searched the forums and used this code in my child-theme´s function.php.
it works well on the test server but not on the new server even if the WordPress Versions and the enfold versions are exactly the same.here it´s working fine: http://www.silkeetex.de
/* hide/show sections */ function add_custom_cs(){ ?> <style> .trigger1, .trigger2, .trigger3, .trigger4, .trigger5, .trigger6, .trigger7 { cursor: pointer; /* Change cursor to hand */ } </style> <script> jQuery(window).load(function(){ jQuery("#hide1, #hide2, #hide3, #hide4, #hide5, #hide6, #hide7").hide(); jQuery(".trigger1").hover(function() { if (jQuery("#hide1").is(":visible")) { jQuery("#hide1").hide().removeClass("active"); } else { jQuery(".active").hide().removeClass("active"); jQuery("#hide1").show().addClass("active"); } }); jQuery(".trigger2").hover(function() { if (jQuery("#hide2").is(":visible")) { jQuery("#hide2").hide().removeClass("active"); } else { jQuery(".active").hide().removeClass("active"); jQuery("#hide2").show().addClass("active"); } }); jQuery(".trigger3").hover(function() { if (jQuery("#hide3").is(":visible")) { jQuery("#hide3").hide().removeClass("active"); } else { jQuery(".active").hide().removeClass("active"); jQuery("#hide3").show().addClass("active"); } }); jQuery(".trigger4").hover(function() { if (jQuery("#hide4").is(":visible")) { jQuery("#hide4").hide().removeClass("active"); } else { jQuery(".active").hide().removeClass("active"); jQuery("#hide4").show().addClass("active"); } }); jQuery(".trigger5").hover(function() { if (jQuery("#hide5").is(":visible")) { jQuery("#hide5").hide().removeClass("active"); } else { jQuery(".active").hide().removeClass("active"); jQuery("#hide5").show().addClass("active"); } }); jQuery(".trigger6").hover(function() { if (jQuery("#hide6").is(":visible")) { jQuery("#hide6").hide().removeClass("active"); } else { jQuery(".active").hide().removeClass("active"); jQuery("#hide6").show().addClass("active"); } }); jQuery(".trigger7").hover(function() { if (jQuery("#hide7").is(":visible")) { jQuery("#hide7").hide().removeClass("active"); } else { jQuery(".active").hide().removeClass("active"); jQuery("#hide7").show().addClass("active"); } }); }); </script> <?php } add_action('wp_footer', 'add_custom_cs'); /* avoid jumping up to header */ function add_custom_href_remove(){ ?> <script> jQuery(window).load(function(){ jQuery('.trigger1,.trigger2,.trigger3,.trigger4,.trigger5,.trigger6,.trigger7').removeAttr('href'); }); </script> <?php } add_action('wp_footer', 'add_custom_href_remove');Why is that? Can anyone please help?
Topic: Popup
Hi, i use this solution for a popup window from another post:
Hey axelfx07!
Thank you for using Enfold.
The Enfold uses MagnificPopup as default lightbox plugin. You can add this on functions.php:
function popup_inline() { ?>
<script type=”text/javascript”>
jQuery(window).load(function(){
jQuery(‘.open-popup-link’).magnificPopup({
type:’inline’,
midClick: true // Allow opening popup on middle mouse click. Always set it to true if you don’t provide alternative source in href.
});
});
</script>
<?php }add_action(‘wp_head’, ‘popup_inline’);
Then use this on a text block:<div id=”test-popup” class=”white-popup mfp-hide”>
<p>PLACE CONTENT HERE</p>
</div>Show inline popup
Add this on Quick CSS or custom.css:.white-popup {
position: relative;
background: #FFF;
padding: 20px;
width: auto;
max-width: 500px;
margin: 20px auto;
}
Remove browser cache then reload the page a few times.Cheers!
IsmaelIt works great, but on my mobile it scrolls automatically to the top on the page and the content of the popup doesn’t shown.
Script is on “360° Tour” button on the bottom of the sidebar. Link ist in private content.
May anybody have a solution to position it on the top of the mobile.
Thank you for helping!
Hi,
Hoster moved the page from old server to a newer one (php8.2.6).
All there but some errors after activate Debug …
I have reimported the theme but no changes. ANy idea?
P.S: I know, no SSL :)
I am not sure whats wrong with the Layerslider AND Media Folder is shown emptyDeprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /www/sites/t170509/cafe-libretto.de/wp-content/themes/enfold/config-layerslider/LayerSlider/assets/classes/class.ls.dom.php on line 209
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /www/sites/t170509/cafe-libretto.de/wp-content/themes/enfold/config-layerslider/LayerSlider/assets/classes/class.ls.dom.php on line 209
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /www/sites/t170509/cafe-libretto.de/wp-content/themes/enfold/config-layerslider/LayerSlider/assets/classes/class.ls.dom.php on line 209
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /www/sites/t170509/cafe-libretto.de/wp-content/themes/enfold/config-layerslider/LayerSlider/assets/classes/class.ls.dom.php on line 209
Hi everyone,
I bought the enfold theme years ago and it worked very well for all these years. Now I got a message from my hoster that I had to update to php version 8.0 (I’m on 7.4) and so I’ve done that. Now I got another mail that said that I’m still using 7.4 despite having it turned to 8.0 in the settings of the hoster. Now I found that in the .htaccess file there is this entry:
AddType application/x-httpd-php74 .phpI’ve then set it to AddType application/x-httpd-php8 .php which gave me errors. I’ve removed the entry but still get a critical error. I’ve debugged with wordpress and debug.log gave me following errors:
PHP Fatal error: Unparenthesized
a ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in /mnt/web005/b0/99/58640899/htdocs/WordPress_SecureMode_01/wp-content/themes/enfold/functions-enfold.php on line 313I’m on enfold version 4.4
Can somebody help me please? :(










