• I was trying to make changes to the functions.php file so I could add an additional menu to my WordPress template (it only came with one).
    Ok, so I am a little in over my head but I was following a tutorial on this website and thought I could at least try.

    Anyway I got this error:
    Fatal error: Call to undefined function dd_action() in /home/semmesco/public_html/test/wp-content/themes/burette/functions.php on line 46
    And now I can’t view the blog or switch the template or anything.

    The blog can be viewed at http://semmesco.com/test/.

    When I had this error message I went to the original template files and copied and pasted the functions.php file so I could eliminate any changes I had made. (There weren’t that many and I am pretty sure I had deleted them anyway). But I still get the message. Here is the code that seems to be giving a problem:


    // global scripts
    add_action('init', 'aq_init_scripts');
    add_action('template_redirect', 'aq_print_scripts');

    Line 46 seems to print to the blank line at the end of the code.
    I have done some research on google and tried the different fixes for this there but nothing works. Part of the problem might be that the poster assumes some knowledge of PHP and that is not the case. So I might be pasting the fix code but in the wrong place

    Any help is appreciated. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Call to undefined function’ is closed to new replies.