Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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

    #1243318

    Hey vanderhout,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. 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 ).
    5. Click ” Submit “.
    6. 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,
    Nikko

    #1243422
    This reply has been marked as private.
    #1243537

    Hi Nikko thanks for assistance

    #1243860

    Hi 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.php

    function 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,
    Nikko

    #1243907
    This reply has been marked as private.
    #1243956

    Hi 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,
    Nikko

    #1244008
    This reply has been marked as private.
    #1244011
    This reply has been marked as private.
    #1244119

    Hi 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,
    Nikko

    #1244192
    This reply has been marked as private.
    #1244555

    Hi 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

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.