Oops! Something went wrong

Go to home

Error code: 98b865

[256] Query Error:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(SELECT *
FROM phpfox_saved_collection AS c
WHERE c.total_item > 0 and privac...' at line 3 [SELECT /* friend.is_friend */COUNT(*)
FROM phpfox_friend
(SELECT *
FROM phpfox_saved_collection AS c
WHERE c.total_item > 0 and privacy = 0 and c.user_id = 38485

)WHERE user_id = 0 AND friend_user_id = 38485
 LIMIT 1

...] (/home/p4f/public_html/PF.Base/include/library/phpfox/error/error.class.php) [96]
Error Code: 98b865
Stack trace:
#0 /home/p4f/public_html/PF.Base/include/library/phpfox/error/error.class.php(96): trigger_error('Query Error:You have an error in...', 256)
#1 /home/p4f/public_html/PF.Base/include/library/phpfox/database/driver/mysql.class.php(187): Phpfox_Error::trigger('Query Error:You have an error in...', 256)
#2 /home/p4f/public_html/PF.Base/include/library/phpfox/database/driver/mysql.class.php(721): Phpfox_Database_Driver_Mysql->query('SELECT /* friend.is_friend */COU...', mysqli)
#3 /home/p4f/public_html/PF.Base/include/library/phpfox/database/driver/mysql.class.php(937): Phpfox_Database_Driver_Mysql->_getRow('SELECT /* friend.is_friend */COU...', , mysqli)
#4 /home/p4f/public_html/PF.Base/include/library/phpfox/database/driver/mysql.class.php(2025): Phpfox_Database_Driver_Mysql->getRow('SELECT /* friend.is_friend */COU...', , mysqli)
#5 /home/p4f/public_html/PF.Base/include/library/phpfox/database/driver/mysql.class.php(894): Phpfox_Database_Driver_Mysql->_getField('SELECT /* friend.is_friend */COU...', mysqli)
#6 /home/p4f/public_html/PF.Base/include/library/phpfox/database/driver/mysql.class.php(1492): Phpfox_Database_Driver_Mysql->getSlaveField('SELECT /* friend.is_friend */COU...')
#7 /home/p4f/public_html/PF.Base/module/friend/include/service/friend.class.php(498): Phpfox_Database_Driver_Mysql->execute('getslavefield')
#8 /home/p4f/public_html/PF.Site/Apps/p-saved-items/Service/Collection/Collection.php(233): Friend_Service_Friend->isFriend(0, '38485')
#9 /home/p4f/public_html/PF.Site/Apps/p-saved-items/Service/Callback.php(64): Apps\P_SavedItems\Service\Collection\Collection->getCallbackCollections(Array)
#10 /home/p4f/public_html/PF.Base/include/library/phpfox/module/module.class.php(1553): Apps\P_SavedItems\Service\Callback->getProfileMenu(Array)
#11 /home/p4f/public_html/PF.Base/include/library/phpfox/phpfox/phpfox.class.php(1108): Phpfox_Module->massCallback('getProfileMenu', Array)
#12 /home/p4f/public_html/PF.Base/module/profile/include/service/profile.class.php(53): Phpfox::massCallback('getProfileMenu', Array)
#13 /home/p4f/public_html/PF.Base/module/profile/include/component/controller/index.class.php(146): Profile_Service_Profile->getProfileMenu(Array)
#14 /home/p4f/public_html/PF.Base/include/library/phpfox/module/module.class.php(1166): Profile_Component_Controller_Index->process()
#15 /home/p4f/public_html/PF.Base/include/library/phpfox/module/module.class.php(566): Phpfox_Module->getComponent('profile.index', Array, 'controller')
#16 /home/p4f/public_html/PF.Base/include/library/phpfox/phpfox/phpfox.class.php(2038): Phpfox_Module->getController()
#17 /home/p4f/public_html/PF.Base/start.php(636): Phpfox::run()
#18 /home/p4f/public_html/index.php(6): require('/home/p4f/public_html/PF.Base/st...')
#19 {main}