Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1374256

    Hello, I have installed an update to PHP 8 on our website. But then the following error message appears. If I revert back to the older PHP 7 version, the site works again. Currently PHP8 is not enabled.

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

    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 62 and at least 2 expected in /homepages/29/d516571436/htdocs/wp-includes/class-wp-widget.php:163 Stack trace: #0 /homepages/29/d516571436/htdocs/wp-includes/class-wp-widget-factory.php(62): 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(585): 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 163

    #1374296

    Hey Holger,

    Could you try updating the theme to the latest version (5.2.1) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.

    https://kriesi.at/documentation/enfold/theme-registration/

    Best regards,
    Rikard

    #1374309

    Hi, when I select the .zip file, an error message appears that the theme is missing the style.css file. Theme cannot be installed.

    Greets Holger

    #1374313

    Hi Holger,

    Are you sure that you are installing the correct file? Please try to unzip the file you downloaded from Themforest, then upload the theme zip file located in that folder.

    Best regards,
    Rikard

    #1374431

    Hi, yes sorry I downloaded the wrong file. I currently have the child theme active. Do I then have to delete the normal enfold theme first, then activate a default theme and upload the new enfold theme? Then activate the enfold theme and then the child theme again? I made a backup, including the quick css. Greets Holger

    #1374476

    Hi,

    The easiest option would be to register your theme license, then add the token to the backend. The update should appear in the theme options after that. If you want to upload via FTP, then please upload the new version to a separate folder and rename the old folder once the upload is done. The active theme folder should be called enfold.

    Best regards,
    Rikard

    #1374484

    Hi, I bought the update or the theme again last week via Themeforest. Got the invoice from Envato with the download link and item purchase code. I entered it in the Envato Child Theme under Theme Update for the key and clicked on Reactivate. However, it cannot establish a connection or does not indicate that the activation worked. My purchase is also not shown in the envato account, only in the Themeforest account. Greetings Holger

    #1374496

    Hi,

    Thanks for the update. Did you follow this guide? https://kriesi.at/documentation/enfold/theme-registration/. If not, then please try doing so.

    If your purchase is not shown in your Themeforest/Envato account, then please try reaching out to their support for further help.

    Best regards,
    Rikard

    #1374572

    Hi, yesterday I generated a key at envato via the api. However, I still can’t update the theme. Nothing comes up when I click manual check.

    The key says: …We checked your key on 2022/12/01 07:03 and were able to connect to Envato and got the following information:

    your purchases
    Your username: aB-Agenta
    Your email: (Email address hidden if logged out)
    If you ever edit your personal token’s restrictions, please check it again to test if it’s working properly
    Theme Updates
    No update available. You are using the latest version! (4.8.7.2-dev-2)

    Greets Holger

    #1374592

    Hi,

    Please try to install and configure this plugin instead: https://envato.com/market-plugin/. If that doesn’t work either, then please include FTP login details in private as well.

    Best regards,
    Rikard

    #1374620

    sorry, but i don’t know exactly what you mean. WordPress says the theme is already installed. – This theme is already installed.
    Active Uploaded Theme
    Version 4.8.7.2
    uploaded 5.2.1

    but i cant activated the theme

    #1374621

    sorry, but i don’t know exactly what you mean. WordPress says the theme is already installed. – This theme is already installed.
    Active Uploaded Theme
    Version 4.8.7.2
    uploaded 5.2.1

    but i cant activated the theme

    maybe you can log in to wordpress again to have a look?

    #1374624

    Login Parameter

    #1374672

    Hi,

    I linked to a plugin, did you try to install and configure that plugin? If not, then please try doing so. If you want us to update the theme for you, then we need FTP login details.

    Best regards,
    Rikard

    #1374738

    Hi, I managed to update the theme and switch to PHP 8. But now an error message appears. Can you do something with that? If you call up the artbase-software.de page, it appears in the header. I reverted the site back to PHP 7.4

    Error in Header:

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

    Warning: Constant FORCE_SSL_ADMIN already defined in /homepages/29/d516571436/htdocs/wp-config.php on line 96

    VG
    Holger

    • This reply was modified 2 years ago by aB-Agenta.
    #1374783

    Hi,

    Thanks for the update. Those warnings are not coming from the theme core files. Please check line 51 in functions.php in your child theme, and line 96 in wp-config.php in the WordPress root folder.

    Best regards,
    Rikard

    #1375081

    Hi, if I just comment out line 51 in functions.php (if( strpos($responsive, ‘responsive’) !== false ) echo ‘<meta name=”viewport” content=”width=device-width, initial-scale=2″>’;), the error is gone. Where does that line of code come from? I didn’t comment out the other line in wp-config.php.

    VG
    Holger

    #1375083

    Hi Holger,

    That is not something which the theme adds, so we can’t tell you for sure unfortunately.

    Best regards,
    Rikard

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