Error: function 'td_tts_userAjax' not found or invalid function name
-
Hello,
I getWarning: call_user_func_array() expects parameter 1 to be a valid callback, function 'td_tts_userAjax' not found or invalid function name in [...]/wp-includes/plugin.php on line 429
and because of this the plugin isn’t working properly.The whole thing is rather strange:
- All plugin files are present and complete, with correct permissions. Including function
td_tts_userAjax
. - If I move code of
td_tts_userAjax
to another file, I immediately getParse error: syntax error, unexpected end of file in [...]/wp-content/plugins/td-ticket-system/td-ticketsystem.php
. - I expect there might be some problem with the heredoc syntax, which makes the code quite hard to parse for me… so I can’t be sure.
Help, please? Tell me if you need more information.
Thanks in advance.
P.S.: I believe correct way to include javascript is by using wp_enqueue_script. But am not sure if it would solve this issue.
- All plugin files are present and complete, with correct permissions. Including function
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Error: function 'td_tts_userAjax' not found or invalid function name’ is closed to new replies.