Hmm... this is worrying. It sounds like there may have been a problem when you last upgraded. Are you running the latest version of the script? Did you upgrade recently?
Let's just do a quick bit of debugging. Could you add this code on line 126 and post the result that you get when you reload the webpage?
Thanks!
Let's just do a quick bit of debugging. Could you add this code on line 126 and post the result that you get when you reload the webpage?
PHP Code:
echo "SELECT *
FROM {$g_table_prefix}hooks
WHERE hook_type = '$hook_type' AND
action_location = '$event' AND
core_function = '$core_function'
ORDER BY priority ASC";
Thanks!