Problem in upgrade php 7.4 → 8+

Hi i have a problem when i want upgrade php 7.4 to 8.3

Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "create_posttype" not found or invalid function name in /home/platne/serwer252680/public_html/alemuzyk.pl/wp-includes/class-wp-hook.php:324 Stack trace: #0 /home/platne/serwer252680/public_html/alemuzyk.pl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #1 /home/platne/serwer252680/public_html/alemuzyk.pl/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /home/platne/serwer252680/public_html/alemuzyk.pl/wp-settings.php(700): do_action() #3 /home/platne/serwer252680/public_html/alemuzyk.pl/wp-config.php(86): require_once('...') #4 /home/platne/serwer252680/public_html/alemuzyk.pl/wp-load.php(50): require_once('...') #5 /home/platne/serwer252680/public_html/alemuzyk.pl/wp-admin/admin.php(34): require_once('...') #6 /home/platne/serwer252680/public_html/alemuzyk.pl/wp-admin/index.php(10): require_once('...') #7 {main} thrown in /home/platne/serwer252680/public_html/alemuzyk.pl/wp-includes/class-wp-hook.php on line 324

Has anyone had anything similar?
I’ve tried to cancel everything etc.

Hi,

Please note that this is not a HivePress issue, as we don’t have such a feature, and a PHP update itself shouldn’t produce such errors. It may be caused by the removal of some code after or before the update. So make sure you didn’t delete any code during the update. Also, if you have a backup, we recommend using it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.