Keywords: WordPress - AWS - Technical issue - Other
bnsupport ID: 0c40e7e2-1dfe-5972-9e86-3b84f06fab0f
we are having weird problems on traffic re-routing, previously we made some 301 redirections according to domain change however I didn't modified httpd-vhosts.conf file and it still have old domain details and we are having errors like below:
[Thu Jul 30 10:22:30.315337 2020] [proxy_fcgi:error] [pid 12626:tid 139705362220800] [client 172.31.29.246:28392] AH01071: Got error 'PHP message: 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 '))) AND wp_posts.post_type IN ('articles', 'sqlibook', 'events', 'news', 'inter' at line 1 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND ((())) AND wp_posts.post_type IN ('articles', 'sqlibook', 'events', 'news', 'interviews', 'sqlimap') AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled' OR wp_posts.post_status = 'paused' OR wp_posts.post_status = 'active' OR wp_posts.post_status = 'queued' OR wp_posts.post_status = 'finished' OR wp_posts.post_status = 'autoresponder') ORDER BY wp_posts.post_date DESC LIMIT 0, 10 made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts', referer: http://www.theoilandgasyear.com/?s=
I am wondering if the httpd-vhosts.conf file causing this or not because somehow Google still crawling our old domain and our website responses are superslow.
Can you please help me to figure this out? our website is: www.theenergyyear.com, I can provide more logs and info if you have any questions.
All the best,