-
Search Results
-
Hi there,
just received an error from wordpress (using Enfold 4.0.5 with PHP 8.1.12) with the following error:
Ein Fehler vom Typ E_COMPILE_ERROR wurde in der Zeile 265 der Datei /is/htdocs/wp12758756_G5OB3KWALE/www/psychotherapie/wp-content/themes/enfold/functions-enfold.php verursacht. Fehlermeldung: Unparenthesized
a ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)Can someone please help me to fix that? Website does not work any more?
Thanks
Topic: PHP 8 upgrade
Hello,
I am informing about the compatibility of Enfold 5.2.1 running on WordPress 6.1 with PHP 8 or PHP 8.1.
Our host is upgrading from PHP 7.4 to PHP 8 but now we are faced with all sorts of error messages which aren’t even Enfold related I am guessing..
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /data/www/ourdomain.nl/www/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /data/www/ourdomain.nl/www/wp-includes/class-wp-widget.php:163 Stack trace: #0 /data/www/ourdomain.nl/www/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /data/www/ourdomain.nl/www/wp-includes/widgets.php(115): WP_Widget_Factory->register() #2 /data/www/ourdomain.nl/www/wp-content/plugins/tmls_testimonials/inc/widget.php(57): register_widget() #3 /data/www/ourdomain.nl/www/wp-includes/class-wp-hook.php(308): tmls_widget_init() #4 /data/www/ourdomain.nl/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #5 /data/www/ourdomain.nl/www/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /data/www/ourdomain.nl/www/wp-includes/widgets.php(1854): do_action() #7 /data/www/ourdomain.nl/www/wp-includes/class-wp-hook.php(308): wp_widgets_init() #8 /data/www/ourdomain.nl/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #9 /data/www/ourdomain.nl/www/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /data/www/ourdomain.nl/www/wp-settings.php(617): do_action() #11 /data/www/ourdomain.nl/www/wp-config.php(100): require_once('...') #12 /data/www/ourdomain.nl/www/wp-load.php(50): require_once('...') #13 /data/www/ourdomain.nl/www/wp-blog-header.php(13): require_once('...') #14 /data/www/ourdomain.nl/www/index.php(17): require('...') #15 {main} thrown in /data/www/ourdomain.nl/www/wp-includes/class-wp-widget.php on line 163I replaced our domain name with ourdomain.nl in the error code above.. for privacy reasons
Do you have any tips or pointers on how we can get this working 100%?
Hope to hear from you soon
I have just installed WordPress 6.1, Woocommerce 7.1 and the Enfold 5.2.1 theme with the Shop template demo. Php is version 8.1.12 – however I get ‘There has been a critical error on this website.’ Disable the Woocommerce plugin, the theme runs fine. Disable the theme and Woocommerce runs fine. How can I fix this?
Hi
I am running PHP 7.4, Apache 2.4 and need to upgrade toi 8.1 as Loopia my host is discontinuing support for 7.4 on the 28th of november 2022.
Even if i turn all of my plugins and still the site is not available when uppgrading to 8.1. If i Switch back to 7.4 it is just fine…
Please help!Topic: warning
Hi
Our website suddenly shows a very disturbing warning on the landing page
“Warning: Undefined array key “controls” …..content/themes/enfold/framework/php/function-set-avia-frontend.php on line 746″Can you help us solve this issue?
Thanks in advance!Hi,
our site https://www.vestona.se has magically just dissapeared. I got an e-mail from WordPress this morning with the below information.
What has happened here? It’s been working fine for 2 years and we have not done any changes at all recently. We don’t run any plugins either, only Akismet. It’s a very simple page.
We are using:
WordPress-version 6.1
Aktivt tema: Enfold (version 4.4.1)
Nuvarande tillägg: (version )
PHP-version 8.1.11Error details:
An error of type E_COMPILE_ERROR occured on row 313 in the following file: /www/webvol27/c4/3u5xxmyh4qcgefi/vestona.se/public_html/wp-content/themes/enfold/functions-enfold.php. Error reason: Unparenthesized
a ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)Hello, my name is Angelica and I have an Error for a really long time on my WordPress page.
I thought it was because I hadn´t updated the theme but now I purchased the last Version 5.2.1 and I have the same error.
I don´t know how to fix it, so if you could help me, please.I would wait for your answer,
Thank you.
This is the error:
Detalles del error
==================
Se ha producido un error del tipo E_ERROR en la línea 210 del archivo /home/anyospar/public_html/wp-content/themes/enfold/includes/helper-social-media.php. Mensaje de error: Uncaught Error: Call to undefined function av_icon_string() in /home/anyospar/public_html/wp-content/themes/enfold/includes/helper-social-media.php:210
Stack trace:
#0 /home/anyospar/public_html/wp-content/themes/enfold/includes/helper-social-media.php(238): avia_social_media_icons->build_icon(Array)
#1 /home/anyospar/public_html/wp-content/themes/enfold/includes/helper-social-media.php(267): avia_social_media_icons->html()
#2 /home/anyospar/public_html/wp-content/themes/enfold/includes/helper-main-menu.php(15): avia_social_media_icons(Array, false)
#3 /home/anyospar/public_html/wp-includes/template.php(772): require(‘/home/anyospar/…’)
#4 /home/anyospar/public_html/wp-includes/template.php(716): load_template(‘/home/anyospar/…’, false, Array)
#5 /home/anyospar/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
#6 /home/anyospar/public_html/wp-content/themes/enfold/header.php(268): get_template_part(‘includes/helper’, ‘main-menu’)
#7 /home/anyospar/public_html/wpHave downloaded and reinstalled the latest enfold version.
Have tried PHP 7.4, 8.0 and 8.1.
Any ideas on what else to do?Topic: Enfold vs PHP 8.1
Hi! Need support. Our page (www.soderhus.se) is not compatible with PHP 8.1 (Loopia/wordpress is upgraded to PHP 8.1). Guess we use Enfold 4.4.1. PHP 7.3 is fine.
What do we have to do to make it work?
This is not my field of profession, please don´t judge me for my questions.
BR/Sanne
Topic: Error after last Update
Hello!
After the last update of Enfold the following error messages appear:
Warning: Illegal string offset ‘default’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘desktop’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘medium’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘small’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘mini’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘default’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘desktop’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘medium’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘small’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘mini’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘default’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘desktop’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘medium’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘small’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘mini’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘default’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘desktop’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘medium’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘small’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘mini’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘default’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘desktop’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘medium’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘small’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘mini’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘default’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘desktop’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘medium’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘small’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Illegal string offset ‘mini’ in /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php on line 220
Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php:220) in /www/htdocs/w007aec3/wp/wp-admin/includes/misc.php on line 1416
Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php:220) in /www/htdocs/w007aec3/wp/wp-includes/functions.php on line 6865
Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w007aec3/wp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-responsive.php:220) in /www/htdocs/w007aec3/wp/wp-admin/admin-header.php on line 9
What is the cause? This happened twice. A backup of the database had to be imported each time to repair this.
Best regards
Morcy
Enfold v5.2.1, PHP 8.0.21, WordPress 6.1, WooCommerce 7.1.0
If I place a product grid on my Avia Layout Builder page, and publish, it works perfectly, however if I have a need to then go back into that page to edit it at all, then upon open I get none of my Avia Toolbar where I normally choose media elements, or layout elements, etc.
I also get an error in my Google Chrome Console sayingavia_gutenberg.js?ver=5.2.1:435 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') at $.AviaBuilderGutenberg.attach_alb_sticky_element_tab_handler (avia_gutenberg.js?ver=5.2.1:435:77) at avia_gutenberg.js?ver=5.2.1:361:22 attach_alb_sticky_element_tab_handler @ avia_gutenberg.js?ver=5.2.1:435 (anonymous) @ avia_gutenberg.js?ver=5.2.1:361 setTimeout (async) attach_handlers @ avia_gutenberg.js?ver=5.2.1:359 set_up @ avia_gutenberg.js?ver=5.2.1:78 $.AviaBuilderGutenberg @ avia_gutenberg.js?ver=5.2.1:52 (anonymous) @ avia_gutenberg.js?ver=5.2.1:805 e @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2 t @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2 setTimeout (async) (anonymous) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2 c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2 fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2 fire @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2 c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2 fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2 ready @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2 $ @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1:2If I click the WordPress icon on the top left corner to return to my pages list, that also does not go back to Pages, but instead goes to Products, which is also a bit strange. It also show a warning that there are unsaved changes, which is not the case.
I am wondering if anybody has had a similar experience and if there is some way around it.
Good evening,
For some time now, contact forms have not worked properly with WP-Rocket.
Bug : Contact form doesn’t work any more.The bug affects on all other contact form of the site.
However the bug doesn’t appear immediatly.
The bug appears after several hours when caching is enable.
When purging the cache, the problem is fixed but remains again after time (even if I reduce the delay between automatic cache period below than 10 or 7 hours).Here is an explanation.
_________________
Hi,
Nice to meet you :)
Thanks for the details.
From what you mention, this could be related to the form’s hidden values (screenshot in private).
If you are using the hidden inputs to have different values in different situations, unfortunately this won’t work because the values are printed directly in the HTML, and as you know the HTML is cached.
This is how this works:
Cache is cleared
A user visits a page (or if you have the preload function enabled, then the visit will be done by it to pre-cache the page)
The PHP code is executed, and the values are created for the hidden inputs
WP Rocket captures the resultant HTML and saves it for future visits
A new user visits the same page, the saved / cached HTML is served to the new user, so the values in the hidden inputs will be the same as the previous visit, because the page is cached, and the same will happen for all the visits you have to that page, the same cache will be served for all of them until the cache is cleared, and the process is repeated.Here, the data will be very inconsistent, all the users will use the exact same values.
As you see, the way you are using to manage this, is not compatible with cache.In this case, you have two options:
You can ask your developers to use a different approach, compatible with caching, it could be cookie based for example: Create Different Cache Files with Dynamic and Mandatory Cookies
You can disable page caching while keeping the optimizations, WP Rocket will still optimize your website, but the cache won’t be created: Disable Page Caching
I hope this information is useful for you 😃______________
So can you make a fix in future version for this. Please?
Best regards.


