-
Search Results
-
Topic: Warning error on PHP
Hi Kriesi
I have an error on my website:
Warning: Creating default object from empty value in /var/www/scan3d.dk/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php on line 1175It doesn’t seem like it’s something I can fix myself as it is an error on the PHP. Can you help me solve it?
After the error showed up this morning, the favicon on the same webpage has been replaced with WordPress’. Maybe there is a connection between that and the error?I’m looking forward to hear from you.
Best regards,
MajaI have a site I have been using since the early days of Enfold. It is big, over 2GB and most of this is down to images.
WHY, when I upload an image that has been optimized by Shortpixel to 67KB does Enfold create another 14 variations totalling 3.887MB?
This costs server space, and inodes space and leaves less room on any hosting platform.
Please, after all this time, can you introduce a feature to overcome this in the user interface? I don’t want to have to mess around with config files, or PHP hacks etc. It should be in the options surely?
Suggesting other plugins to manage this should not be necessary. Elementor does not do this, why does Enfold?
production: https://natureslogic.com/ (I’ve included admin access credentials)
staging: https://luxuriant-robot.flywheelstaging.com/the following issues occur both on staging and production sites. I want to resolve this on staging since that will be pushed to production in a few weeks.
customize panel not loading. this is the email i recieve (using wordfence plugin)
WordPress caught an error with your theme, Enfold. First, visit your website (https://luxuriant-robot.flywheelstaging.com/) and check for any visible issues. Next, visit the page where the error was caught (https://luxuriant-robot.flywheelstaging.com/wp-admin/customize.php?url=https%3A%2F%2Fluxuriant-robot.flywheelstaging.com%2Fproduct%2Ffeline-can-turkey%2F) and check for any visible issues. Please contact your host for assistance with investigating this issue further. If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further. https://luxuriant-robot.flywheelstaging.com/wp-login.php?action=enter_recovery_mode&rm_token=NIus2JQxg513FGtOgHNO8r&rm_key=o2H1zY6J6ngTRzq4t6l32L
WordPress version 6.1.1 Active theme: Enfold Child (version 4.7.6.4.1623028560) Current plugin: (version ) PHP version 8.1.17 Error Details
============= An error of type E_ERROR was caused in line 144 of the file /www/wp-content/themes/enfold/framework/php/widgets/widget-classes/class-avia-mailchimp.php. Error message: Uncaught TypeError: strip_tags(): Argument #1 ($string) must be of type string, stdClass given in /www/wp-content/themes/enfold/framework/php/widgets/widget-classes/class-avia-mailchimp.php:144 Stack trace: #0 /www/wp-content/themes/enfold/framework/php/widgets/widget-classes/class-avia-mailchimp.php(144): strip_tags(Object(stdClass)) #1 /wordpress/wp-includes/class-wp-widget.php(535): aviaFramework\widgets\avia_mailchimp_widget->form(Array) #2 /wordpress/wp-admin/includes/widgets.php(274): WP_Widget->form_callback(Array) #3 /wordpress/wp-includes/class-wp-customize-widgets.php(1128): wp_widget_control(Array, Array) #4 /wordpress/wp-includes/class-wp-customize-widgets.php(1147): WP_Customize_Widgets->get_widget_control(Array) #5 /wordpress/wp-includes/customize/class-wp-widget-form-customize-control.php(117): WP_Customize_Widgets->get_widget_control_parts(Array) #6 /wordpress/wp-includes/class-wp-customize-control.php(337): WP_Widget_Form_Customize_Control->to_json() #7 /wordpress/wp-includes/class-wp-customize-manager.php(4985): WP_Customize_Control->json() #8 /wordpress/wp-includes/class-wp-hook.php(308): WP_Customize_Manager->customize_pane_settings(”) #9 /wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #10 /wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /wordpress/wp-admin/customize.php(292): do_action(‘customize_contr…’) #12 {main} throwntMgxH5VeEWBZpflh7lgRY4UPD3y9RafrqrrJ51uwgcMspI0NA_gzfPtaWpvYidnjsNigSMVj3UTMMEmLjLSDVX0pd96BHZ5KHq9SLgKXDc5QYIPgFwvUOCyzaCo3vETZGG3CXBF6v6rYQoLdzj5XlUQAD0XQawe601b0QVuj1frD94PtI6U.gif”
widgets appear normally on the front end, but widget panel in admin is non-responsive:
https://luxuriant-robot.flywheelstaging.com/widgets.phpI’ve disabled all plugins – and the issues don’t resolve.
When I switch to a different theme – in this case twenty-twenty, the issues are resolved (with plugins activated, not disabled).
when going into WP recovery mode. Enfold theme and child theme don’t load, with error that the installation of theme isn’t complete.
Please advise. https://getflywheel.com is the host
We are using LearnDash and wanted to use the Advanced Layout Builder in the LearnDash custom post types. From the forums we’ve installed this code in functions.php:
* Adds the Avia layout builder to Learndash custom post types
**/
function avf_alb_supported_post_types_mod( array $supported_post_types )
{
$supported_post_types[] = ‘sfwd-lessons’;
$supported_post_types[] = ‘sfwd-courses’;
$supported_post_types[] = ‘sfwd-topic’;
return $supported_post_types;
}
add_filter(‘avf_alb_supported_post_types’, ‘avf_alb_supported_post_types_mod’, 10, 1);
// end of function that adds the avia layout builder to LearndashBut we don’t see the last two element tabs in the editor (Content and Media) – this is what we see the link:
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.google.com%2Fdocument%2Fd%2F1XTQhP-d3zMc1mHlSCpAzgFt1xoHZIh2m3r9RHuLP6Pk%2Fedit%3Fusp%3Dsharing&data=05%7C01%7Cgchalk%40jhu.edu%7Cab28263923e745be064408db2fbe6364%7C9fa4f438b1e6473b803f86f8aedf0dec%7C0%7C0%7C638156266978271313%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QZxPobAEYjg4Z1R9EDzDbtKnqqpPFgXajtNa31n7MDY%3D&reserved=0Hi,
after theme update ( now we have 5.5), we can’t upgrade PHP to 8.1.17, in private content the errors.
Can you tell me why i receive this errors.Looking forward hearing from you.
Best regards
MS










