A few hours ago, I breifly changed the permission of two of my folders(I forgot which ones for sure). It might of been .qidb and cgi-bin. I changed them back(I think) though...maybe. Well, a few hours later, I got BACK to my website and I see a 500 code. I check the error log and it shows the following:
"WordPress database error 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 ')))))' at line 4 for query SELECT blocks.id,blocks.name,blocks.pinPoint,blocks.location,blocks.links,blocks.expressions,(blocks.pinPoint & 4353) blocksGroup FROM ph9xt1f6yn_cjtoolbox_blocks
blocks
LEFT JOIN ph9xt1f6yn_cjtoolbox_block_pins
pins
ON blocks.id
= pins.blockId
WHERE (((backupId
IS NULL) AND (state
= 'active')) AND
((blocks.pinPoint
& 4353) OR ((blocks.pinPoint
& 512) AND (pins.pin = 'posts') AND (pins.value
IN ())))); made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), call_user_func_array, CJTBlocksCouplingController->initCoupling, CJTBlocksCouplingController->getBlocks, CJTCouplingModel->getPinsBlocks, CJTPinsBlockSQLView->exec, CJTMYSQLQueueDriver->select"
My question is what in the heck did I do and how can I fix it? I tried disabling plugins from Cpanel and it failed. I cannot login to my website at all due to this 500 error.