• Hi everyone,
    My website is down and is showing the following msg:

    Fatal error: Call to undefined function check_custom_widget() in /home/ajwahaca/public_html/wp-content/themes/display/header.php on line 77

    I am not a good computer literate, therefore I will appreciate simple instructions to follow if you don’t mind.

    For your knowledge I hv updated all the plugins after seeing the above msg and the problem is still the same.

    Your support will be much appreciated.
    Thank you in advance

Viewing 9 replies - 1 through 9 (of 9 total)
  • Just PHP not found function check_custom_widget() and script died.
    Try comment out this call of function in /wp-content/themes/display/header.php on line 77.
    Problem in your theme template.

    Thread Starter eshan1

    (@eshan1)

    Thank you for your prompt response.
    I am trying to make sense of the technical solution you have provided.

    regards
    Eshan

    Hi, Eshan

    My technical solution very simple:
    1. Open file header.php
    2. Comment out (or remove) the call of this function
    // check_custom_widget()

    Module PHP can’t execute a script, if any function is not found.

    @john, don’t suggest people to edit template files without advising them to make a child theme.

    @eshan1, create a child theme first before you edit any template files.

    Hi, @respectyoda, please answer my question – how fix the template and don’t edit it?
    Are you sorcerer?

    John, like I said, first create a child theme. When you do that, copy the header.php from the parent theme and put it in the child theme. Then open header.php in your favorite code editor (make sure it is text based) then look for the code that says:

    check_custom_widget();

    Then put two forward slashes in front of it like this:

    // check_custom_widget();

    However, I want to ask this. What theme are you using?

    I approve any kinds of backups, and child theme also.

    @john, that is bad advice. The header.php in the child theme will override the header.php in the parent theme. A child theme is always a must if one wants to edit any PHP files of the parent theme.

    You are great master of WWW, my friend!) But the topic about fatal error and how this fix.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘fatal error’ is closed to new replies.