Hello,
i am
getting a warning.
user
warning: You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '*
FROM cache_content' at line 1 query: DELETE * FROM cache_content in /home/cmswebsi/public_html/webserver9/lstwtnew/includes/database.mysql.inc
on line 172.
i found
that it is appearing due to the line code in mysite.module
<?php
$data[$item->position][$i]['output'] = module_invoke('mysite_type', $item->type .'_data', $item->type_id, $settings);
?>
if i
place @ operator, this warning gets disappear.
<?php
$data[$item->position][$i]['output'] = @module_invoke('mysite_type', $item->type .'_data', $item->type_id, $settings);
?>
Please
tell me what is the reason behind this and provide the solution(it's urgent :(
).
Thanks in
advance,
sweetie