• Resolved freaknose

    (@freaknose)


    Hi guys,

    Are you able to help me with the below, at all?

    I employed a freelancer to add a custom post type to my child theme, but it didn’t go so well. I fixed a bunch of weird error messages, but I still get a fatal error every time I try to open a page, post, etc or add a new page or post.

    Here is an example:

    Fatal error: Uncaught Error: Function name must be a string in /homepages/9/d294336569/htdocs/clickandbuilds/Kinderlieder/wp-content/themes/kiddo-turf-parent/framework/core/INTERFACE.php:168 Stack trace: #0 /homepages/9/d294336569/htdocs/clickandbuilds/Kinderlieder/wp-content/themes/kiddo-turf-parent/framework/core/INTERFACE.php(323): TF_INTERFACE->meta_box_row_template(Array) #1 /homepages/9/d294336569/htdocs/clickandbuilds/Kinderlieder/wp-content/themes/kiddo-turf-parent/framework/core/INTERFACE.php(339): TF_INTERFACE->get_meta_box_options(‘lied’) #2 /homepages/9/d294336569/htdocs/clickandbuilds/Kinderlieder/wp-includes/class-wp-hook.php(300): TF_INTERFACE->create_meta_box(‘lied’) #3 /homepages/9/d294336569/htdocs/clickandbuilds/Kinderlieder/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #4 /homepages/9/d294336569/htdocs/clickandbuilds/Kinderlieder/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /homepages/9/d294336569/htdocs/clickandbuilds/Kinderlieder/wp-admin/edit-form-advanced.php( in /homepages/9/d294336569/htdocs/clickandbuilds/Kinderlieder/wp-content/themes/kiddo-turf-parent/framework/core/INTERFACE.php on line 168\

    Is this fixable, or should I scrap the whole thing and start from scratch?

    Thanks so much!!

    freaknose

Viewing 5 replies - 1 through 5 (of 5 total)
  • Nicholas Chen

    (@nicdesign)

    what does your custom post type include? any custom fields?

    Thread Starter freaknose

    (@freaknose)

    Hi Nicholas,

    Thanks for your reply, I appreciate it!

    It should some custom fields, but I can’t tell, as I can’t access the custom post type from the admin interface to check. I am assuming the freelancer did a bunch of weird stuff, but it’s extremely hard to trace.

    Does the fatal error describe any place to look at all?

    Nicholas Chen

    (@nicdesign)

    Hard to tell without actually looking at what your freelancer did. If it was just a custom post type without any custom fields I would’ve suggested just nuking it and starting over. Try removing the code from the child theme one function at a time and seeing if you can narrow down which function is causing the error.

    Thread Starter freaknose

    (@freaknose)

    Thanks for your suggestion! I will do that and go bit by bit through the code.

    Nicholas Chen

    (@nicdesign)

    No problem. If you can’t figure it out let me know and I can help you rebuild from scratch.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error: Function name must be a string in parent theme….’ is closed to new replies.