Call to undefined function
-
Just when you think all is working fine!!! also I searched for something related, but most of the post that deals with something like this has yet to be resolved , I have the following jquery snippet.
var $jQ = jQuery.noConflict ();
$jQ.ajax ({
type: ‘GET’,
url: ‘/include/mf_menuUpdate.php?d=m’,
async: true,
cache: false,
dataType: ‘json’,
success: function (data)
{
$jQ(‘#div’).html (data);
//$(‘#messages’).html (json_data).show ();setTimeout (‘waitGoUpdate ()’, 15000);
},
error: function (XMLHttpRequest, textStatus, errorThrown)
{
alert (“Status: ” + textStatus + ” (” + errorThrown +”)”);
setTimeout (‘waitGoUpdate ()’, 15000);
}
});now it works perfectly, except that when calling the php paage.. I get an alert box saying
Call to undefined function add_action, now if I visit the site all seems to be functional (when I explude that function , yet I can print out all $bp, but not call functiosn).. but if I access this file directly I get that error.
I need to make json parse the php output..here is the php code that I am using it with http://code.bulix.org/w167ab-79734
- The topic ‘Call to undefined function’ is closed to new replies.