Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #1331024

    I have installed an older version of enfold or the Enfold Child Theme 1.0 is active. Now I have the problem with PHP 8.0, 7.4 that I get an error message because of the Layerslider plugin. This runs under PHP 7.3 but as soon as I install a higher one, the error message appears in the mobile view. I have now switched the php version back to 7.3. I have just ordered the latest version of enfold via themeforest. Can i update my version? VG Holger

    #1331088

    Hi Holger,

    I can’t see which version of the theme you are running unfortunately, but I don’t think you should have any problems if you update to the latest version of the theme. To make sure that you don’t run into any problems with your live site, you could try updating on a staging copy of the site first.

    Best regards,
    Rikard

    #1331099

    Hi Rikard,
    I don’t know which version I have installed either. I cannot update the theme because I installed the child theme and there is no new version for it. So how can I update the theme without losing the child theme settings? Maybe u can take a look at it with the test access. Vg Holger

    #1331140

    Hi,

    Thanks for that. I can only see a child theme installed on your site, but no parent. Where is that located? If you want to backup your theme settings, then you can do that under Enfold->Import/Export.

    Best regards,
    Rikard

    #1331144

    Hi, I also asked myself where the higher-level theme is. I dont know. Where or how could that be installed? I’m a little at a loss. VG holger

    #1331164

    Hi,

    Thanks for the update. On all WordPress installations there should be a parent and child theme installed, if a child is being used. It should not be possible to use a child theme, unless the parent is present. Could you share FTP login details with us, so that we can have a closer look there please?

    Best regards,
    Rikard

    #1331166

    no problem.

    #1331243

    Hi,

    Thanks for that. It looks like the style.css file in the parent theme was identical to your child theme style.css file. If you edited that, then please do that in the future. A child theme is used to override the parent, so you don’t need to edit anything in the parent in order to override it. I’ve uploaded a fresh copy of the parent theme, and things look to be working as it should now. Please review your site.

    Best regards,
    Rikard

    #1331269

    Hi thank you very much. I suspect it happened when we had to restore a backup. Do I have to update the enfold theme now? This is not as activated. I have now been able to update the site to PHP 7.4. But if I want to update to PHP 8.0, the page is no longer accessible. Is it the theme? The support from our provider for PHP 7.4 only runs for 1 year. Then we have a problem next year. VG Holger

    #1331288

    Hi,

    Thanks for the update. I uploaded the latest version of the theme for you, so updating should not be necessary. Could you share the exact error message you are getting when activating PHP 8 please? If you have server error logs, then please share those with us as well. Also, which is the exact version of PHP you are trying to activate? 8.x.x?

    Best regards,
    Rikard

    #1331291

    Hello, I think it’s cleared up. It is probably due to the Borlabs plugin.

    Warning: The magic method BorlabsCookie\Cookie\Init::__wakeup() must have public visibility in /homepages/29/d516571436/htdocs/wp-content/plugins/borlabs-cookie/classes/Cookie/Init.php on line 44

    Warning: The magic method BorlabsCookie\Cookie\Frontend\Frontend::__wakeup() must have public visibility in /homepages/29/d516571436/htdocs/wp-content/plugins/borlabs-cookie/classes/Cookie/Frontend/Frontend.php on line 51

    Warning: The magic method BorlabsCookie\Cookie\Update::__wakeup() must have public visibility in /homepages/29/d516571436/htdocs/wp-content/plugins/borlabs-cookie/classes/Cookie/Update.php on line 43

    Warning: Undefined variable $responsive in /homepages/29/d516571436/htdocs/wp-content/themes/enfold-child/functions.php on line 46

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /homepages/29/d516571436/htdocs/wp-includes/class-wp-widget-factory.php on line 61 and at least 2 expected in /homepages/29/d516571436/htdocs/wp-includes/class-wp-widget.php:162 Stack trace: #0 /homepages/29/d516571436/htdocs/wp-includes/class-wp-widget-factory.php(61): WP_Widget->__construct() #1 /homepages/29/d516571436/htdocs/wp-includes/widgets.php(115): WP_Widget_Factory->register(‘avia_partner_wi…’) #2 /homepages/29/d516571436/htdocs/wp-content/themes/enfold/functions.php(798): register_widget(‘avia_partner_wi…’) #3 /homepages/29/d516571436/htdocs/wp-content/themes/enfold/functions.php(806): avia_register_avia_widgets() #4 /homepages/29/d516571436/htdocs/wp-settings.php(546): include(‘/homepages/29/d…’) #5 /homepages/29/d516571436/htdocs/wp-config.php(94): require_once(‘/homepages/29/d…’) #6 /homepages/29/d516571436/htdocs/wp-load.php(50): require_once(‘/homepages/29/d…’) #7 /homepages/29/d516571436/htdocs/wp-blog-header.php(13): require_once(‘/homepages/29/d…’) #8 /homepages/29/d516571436/htdocs/index.php(17): require(‘/homepages/29/d…’) #9 {main} thrown in /homepages/29/d516571436/htdocs/wp-includes/class-wp-widget.php on line 162

    #1331304

    Hi,

    Thanks for the update. What exactly cleared up? I see that you are still running PHP 7.4 on the site, do you still get these warnings and errors when upgrading to PHP 8? If so, then what exact version of PHP 8 are you using then?

    Best regards,
    Rikard

    #1331308

    Hello, I have updated the site to PHP 8.0. then came the error messages. After that I switched the page back to 7.4 so that the page works properly. PHP 7.4 will be supported for 1 year from now on. So next year I would have the problem if it is updated to 8.0.

    #1331373

    Hi,

    Would you be able to copy the site to a staging area, and upgrade the PHP version to 8 there, so that we can see the actual problem? I will check with the rest of the team, to see if they can reproduce this problem.

    Best regards,
    Rikard

    #1331420

    Hi, unfortunately I have no way of doing this. How long would the exam take? I could upgrade the PHP version to 8.0 for a fixed period of time. During this time, the website would not be accessible. Therefore I can only leave the PHP version online for a short period of time. Greetings Holger

    #1331656

    Hi,

    Thanks for the update. I’ve tried to reproduce this problem using PHP 8.0.13, but I haven’t been able to. The latest version of the theme runs with out any problems on that PHP version. I can give you access to the installation in question, if you would like to check yourself. Which exact PHP version are you running when you get this problem?

    Also, did you try to deactivate all plugins before you change the PHP version? If that doesn’t make any difference, then please try activating the parent theme before changing the PHP version, in order to check for problems which might be caused by the content in your child theme.

    Best regards,
    Rikard

    #1331814

    Hello, I think it’s because of the Borland plugin. I’ll turn it off and test it when I get the chance.

    But now I have a new problem after the update. On z. For example, on the Demo page and other pages, the Element Team is no longer available, so only the pure source code is on the page. How can I remove it? Directly to the left of the contact form for presentation. To be edited in the internal area for the page. The box is no longer present on the actual side.

    VG
    Holger

    #1331843

    Hi Holger,

    Thanks for the update. I can see that the Team Member element is missing in the Layout builder on your site, but I can’t reproduce the problem on two separate test installations. Does the same thing happen if you activate the parent theme?

    Best regards,
    Rikard

    #1331949

    Hi, I’ve solved the problem with the missing team.
    But a bigger problem arose after the update. The entire footer is no longer there and is missing on every page.
    How can I show it again?
    VG
    Holger

    #1331950

    about your child theme: were there previously footer.php or header.php or other replacement files in the child theme folder?
    If yes – then you need to update them to the latest version as well. So you should know for what reason they were there. You will then need to incorporate the changes to these files into the newer versions and upload them instead.
    The footer has received some new features – and an older version of the footer.php of the child theme will not work properly.
    __________________
    By the way: i use borlabs cookie for a long time – and had never bigger Problems – neither on php7.4 nor on php8.
    If you got some snippets in your child-theme functions.php – you had to look for:

    $(window).load(function(){
    // It is deprecated in php8 now and it must be used:
    $(window).on('load', function(){
    

    same with .click( … events – now on.(‘click’, …

    #1331952

    Sorry, I somehow don’t know what exactly to do there. The footer is there in the Enfold Theme. However, all the formatting and styles are no longer correct in the theme that I made in the child theme. How can I activate the Enfold Theme with the styles from the Child Theme, so that everything is as it was before?

    VG Holger

    #1331977

    Hi Holger,

    It’s likely that the footer is disappearing because you are overriding header.php in your child theme. Please try to copy header.php from the parent into your child, then add your customisations back after that.

    Best regards,
    Rikard

    #1331981

    Hi, thanks for the information. But how can I copy the header.php into the child theme? Unfortunately I don’t know how to do it. VG Holger

    #1331992

    Hi Holger,

    You can simply open the parent theme file and copy all the content, then paste it into header.php in you child theme. But you will have to find out exactly what you are overriding in that file first, since you will need to add it back after you have copied the parent theme content. If you are not overriding anything, then you can simply delete the file in question.

    Best regards,
    Rikard

    #1331996

    Understood. Thanks, I got it.

    #1332050

    Hi,

    Thanks for the update. Please let us know if you should need any further help.

    Best regards,
    Rikard

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