Error of type E_ERROR happening only on specific hosting
-
Hello,
On a specific hosting (to which I don't have full access to) every time I login to the Wordpress backend the theme fails and gets deactivated due to the following error:
Error Details ============= An error of type E_ERROR was caused in line 270 of the file /home/luisci01/public_html/wp-content/themes/lay/theme_update_check.php. Error message: Uncaught Error: Attempt to modify property "response" on bool in /home/luisci01/public_html/wp-content/themes/lay/theme_update_check.php:270 Stack trace: #0 /home/luisci01/public_html/wp-includes/class-wp-hook.php(309): ThemeUpdateChecker->injectUpdate(false) #1 /home/luisci01/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(false, Array) #2 /home/luisci01/public_html/wp-includes/option.php(1960): apply_filters('site_transient_...', false, 'update_themes') #3 /home/luisci01/public_html/wp-includes/update.php(787): get_site_transient('update_themes') #4 /home/luisci01/public_html/wp-admin/menu.php(33): wp_get_update_data() #5 /home/luisci01/public_html/wp-admin/admin.php(158): require('/home/luisci01/...') #6 /home/luisci01/public_html/wp-admin/edit.php(10): require_once('/home/luisci01/...') #7 {main} thrownI have the same exact copy of the website on WPEngine and this doesn't happen.
I understand that this is maybe out of your support scope, but maybe you have an idea as to why this is happening?
Thank you for your help!
Best,
Marco -
hey i saw this error too once
go to your ftp and rename the "lay" folder in "wp-content" -> "themes" -> "lay" to something else
this disables the theme
now login to your /wp-admin/
then rename that folder back to "lay"
now activate lay theme again in your wp-admin
this fixes it -
hey i saw this error too once
go to your ftp and rename the "lay" folder in "wp-content" -> "themes" -> "lay" to something else
this disables the theme
now login to your /wp-admin/
then rename that folder back to "lay"
now activate lay theme again in your wp-admin
this fixes itHey @arminunruh thanks for your reply! However, this didn't solve it for me unfortunately. It seems like this happens from a certain version of the theme onwards and only on a specific website for me. Might it be related to the server, PHP8 or a specific Woocommerce plugin?
-
hey can you send your ftp login data and wp-admin login data and website url to info@laytheme.com
also send a link to this topic here
-
Hey @defrost and @arminunruh <3
I have the exact same issue with the following webiste rantibam.com and I can’t find a way to fix it. Was there maybe a solution found already? Thank you both! -
so i included the new update checker and maybe that fixes the issue in subsequent updates
-
so i included the new update checker and maybe that fixes the issue in subsequent updates
@arminunruh said in Error of type E_ERROR happening only on specific hosting:
so i included the new update checker and maybe that fixes the issue in subsequent updates
Awesome @arminunruh ! Thank you for this. So all I need to do is to update Lay and all Lay plugins?
-
yea right!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login