-
AuthorPosts
-
November 29, 2022 at 12:34 pm #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
November 29, 2022 at 3:09 pm #1374296Hey 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,
RikardNovember 29, 2022 at 4:09 pm #1374309Hi, 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
November 29, 2022 at 4:27 pm #1374313Hi 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,
RikardNovember 30, 2022 at 12:07 pm #1374431Hi, 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
November 30, 2022 at 3:04 pm #1374476Hi,
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,
RikardNovember 30, 2022 at 4:12 pm #1374484Hi, 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
November 30, 2022 at 5:02 pm #1374496Hi,
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,
RikardDecember 1, 2022 at 9:06 am #1374572Hi, 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
December 1, 2022 at 12:23 pm #1374592Hi,
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,
RikardDecember 1, 2022 at 1:30 pm #1374620sorry, 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.1but i cant activated the theme
December 1, 2022 at 1:32 pm #1374621sorry, 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.1but i cant activated the theme
maybe you can log in to wordpress again to have a look?
December 1, 2022 at 1:34 pm #1374624Login Parameter
December 1, 2022 at 4:40 pm #1374672Hi,
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,
RikardDecember 2, 2022 at 10:00 am #1374738Hi, 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.
December 2, 2022 at 2:25 pm #1374783Hi,
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,
RikardDecember 5, 2022 at 8:51 am #1375081Hi, 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
HolgerDecember 5, 2022 at 9:12 am #1375083 -
AuthorPosts
- You must be logged in to reply to this topic.