Tagged: error
-
AuthorPosts
-
September 4, 2020 at 12:31 pm #1243287
Hello,
I use Enfold theme 4.7.6.3 with PhP 7.1.33 and WP 5.5.1
When I want to upgrade my PhP I receive errors like below. Returning to this setting (above) everything is good in order. Is this a bug or can I do something to avoid this.
Thanks for assistance
Warning: Use of undefined constant ‘avf_builder_boxes’ – assumed ‘‘avf_builder_boxes’’ (this will throw an Error in a future version of PHP) in /home/customer/www/onlinemindfulnesstraining.nl/public_html/wp-content/themes/enfold-child/functions.php on line 7
Warning: Use of undefined constant ‘avia_register_meta_boxes’ – assumed ‘‘avia_register_meta_boxes’’ (this will throw an Error in a future version of PHP) in /home/customer/www/onlinemindfulnesstraining.nl/public_html/wp-content/themes/enfold-child/functions.php on line 7
September 4, 2020 at 1:33 pm #1243318Hey vanderhout,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoSeptember 4, 2020 at 4:46 pm #1243422This reply has been marked as private.September 5, 2020 at 8:42 am #1243537Hi Nikko thanks for assistance
September 7, 2020 at 7:20 am #1243860Hi vanderhout,
Thanks for giving us admin credentials.
I have checked functions.php of your child theme and noticed that the single quotes were looking different and might be the cause of the issue and another one I found is that you have two functions that uses the same hook. I have commented out those codes so it is not read and according to our documentation this should be used instead: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type
I have added this code in your functions.phpfunction avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'sfwd-courses'; $supported_post_types[] = 'sfwd-lessons'; $supported_post_types[] = 'sfwd-topic'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);
Best regards,
NikkoSeptember 7, 2020 at 11:14 am #1243907This reply has been marked as private.September 7, 2020 at 12:37 pm #1243956Hi vanderhout,
Looking at the error it’s not Enfold related and it’s pointing to /plugins/villa-plugin 2
I checked on your Plugins but I could not see a similar name, you might need to check which one it is. ( Same with learndash the plugin folder is sfwd-lms )
After knowing which one, it’s best to contact the support for that plugin.Best regards,
NikkoSeptember 7, 2020 at 3:25 pm #1244008This reply has been marked as private.September 7, 2020 at 3:39 pm #1244011This reply has been marked as private.September 8, 2020 at 3:05 am #1244119Hi vanderhout,
Can you give us temporary admin access on that site as well?
Also please tell us where we can see this error.Best regards,
NikkoSeptember 8, 2020 at 8:04 am #1244192This reply has been marked as private.September 9, 2020 at 6:25 am #1244555Hi vanderhout,
Thanks again for giving us admin access.
I have checked the backend and could confirm it’s using PHP 7.3.20 however I don’t see the warning in the homepage or in other pages.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.