• Hi there—I’ve done a search for PHP issues in this forum but each case has been slightly different, and I am not a coder, so a lot of what I’m reading I don’t understand.

    I maintain two websites. The main one (Acting) is andrewsellon.com and my secondary one (Coaching/Consulting) is sellonsolutions.com. The latter is in its own folder of my Acting WordPress install on the same server. Both have been running fine for years and I’ve had no issues upgrading my PHP a number of times. My host is 1and1/Ionos.

    I got a notification today from 1and1/Ionos that PHP 7.4 was no longer supported and that I had to upgrade to PHP 8 before April 1, 2023 to avoid massive support charges monthly. I tried using their PHP update tool, and both sites gave different fatal error messages. I was able to sort out the ones on my Acting site as they referenced plugins. I removed/replaced the plugins and now that site is okay on PHP 8.1. But my sellonsolutions site still gives this fatal error message, even though I’m using the WordPress 2023 theme and almost no plugins:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method adminuser::register_custom_menu_page() cannot be called statically in /homepages/32/d310666225/htdocs/sellonsolutionsllc/wp-includes/class-wp-hook.php:308 Stack trace: #0 /homepages/32/d310666225/htdocs/sellonsolutionsllc/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #1 /homepages/32/d310666225/htdocs/sellonsolutionsllc/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /homepages/32/d310666225/htdocs/sellonsolutionsllc/wp-admin/includes/menu.php(155): do_action(‘admin_menu’, ”) #3 /homepages/32/d310666225/htdocs/sellonsolutionsllc/wp-admin/menu.php(428): require_once(‘/homepages/32/d…’) #4 /homepages/32/d310666225/htdocs/sellonsolutionsllc/wp-admin/admin.php(158): require(‘/homepages/32/d…’) #5 /homepages/32/d310666225/htdocs/sellonsolutionsllc/wp-admin/index.php(10): require_once(‘/homepages/32/d…’) #6 {main} thrown in?/homepages/32/d310666225/htdocs/sellonsolutionsllc/wp-includes/class-wp-hook.phpon line?308

    I’m afraid this one is simply over my head. Can anyone tell me how to fix this? Thanks so much for any help anyone can provide. Please do keep in mind that I am not a coder.

    I also don’t know whether I’ll see any reply notifications via email, as WordPress still shows a long-defunct email address of [email protected]. I have tried to change it in my site settings, but it doesn’t stick. It’s listed correctly as [email protected] on my 1and1/Ionos account, so I don’t know why WordPress will not let me update the contact info on my websites, or even where it’s getting that old address. If you happen to know how to fix this issue, I would be very grateful for that as well!

    Thanks so much,
    Andrew

Viewing 4 replies - 1 through 4 (of 4 total)
  • lisa

    (@contentiskey)

    to update the email address in your Settings>General area — login to your webhosting account and find the area with the database. look in the database to find the Options table. In the Options table look for admin_email row and edit the email address.

    guide from ionos: https://www.ionos.com/help/hosting/using-mysql-databases-for-web-projects/opening-phpmyadmin/

    Thread Starter asellon

    (@asellon)

    Lisa—Thanks so much for the speedy reply and offer of help regarding the admin email issue! I really appreciate it. However, as I mentioned, the admin email is listed correctly on 1and1/Ionos as [email protected]. I checked the Options table as you suggested just to be sure. Yet back in WordPress, where I had changed it in Settings>General as you noted, it isn’t implementing the change because it says the new email won’t be effective until it is confirmed. But apparently WordPress is still sending the confirmation email to [email protected]! I know this because periodically when I open my site to work on something I’ll get a prompt mentioning that the verizon address is my admin address—which it’s not. So I seem caught in an endless loop….

    lisa

    (@contentiskey)

    Chat with IONOS support to see if they have a different way to manage the email address from inside the database area so it displays properly in your WP-Admin interface. (?maybe there is some server caching issue?)

    (it’s never worked for me to change the email in Settings>General area-I just changed the admin_email twice in my database and it changed immediately in my WordPress Settings>General area )

    Thread Starter asellon

    (@asellon)

    Thanks, Lisa; I’ll reach out to Ionos later about the email and see if they can find it hidden elsewhere.

    I sure hope someone is able to help me with my main PHP issue, though; that one is a showstopper for me. I’ve spent the day on it and am out of ideas.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error message when updating to PHP 8’ is closed to new replies.