728x90
  • Hi.

    I get the following error when trying to access my newly updated webpage. it is now runing php 7.2.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘create_my_post_types’ not found or invalid function name in /home/2/l/lysefjordensjokj/www/wp-includes/class-wp-hook.php on line 286

    Warning: Cannot modify header information – headers already sent by (output started at /home/2/l/lysefjordensjokj/www/wp-includes/class-wp-hook.php:286) in /home/2/l/lysefjordensjokj/www/wp-includes/pluggable.php on line 1223

    I know nothing about any code or programming. Anyone know if this is a quick fix.

    please help, its my girlfriends business site. 

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator
    Steve Stern (sterndata) 

    (@sterndata)

    Forum Moderator & Support Team Rep

    You need to find out which plugin (or theme) is doing this and then look for an update.

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site. You can then use its admin bar menu to turn on/off plugins and themes one at a time.

    Also, edit your wp-config.php and make sure WP_DEBUG is set to false, not true.

+ Recent posts