Notice: Undefined variable: in in /home/hurufcom/public_html/wp-content/themes/generatepress/page-subcategory.php on line 139

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 1 in /home/hurufcom/public_html/wp-content/themes/generatepress/page-subcategory.php:139 Stack trace: #0 /home/hurufcom/public_html/wp-content/themes/generatepress/page-subcategory.php(139): PDO->query('select * from w...') #1 /home/hurufcom/public_html/wp-includes/template-loader.php(106): include('/home/hurufcom/...') #2 /home/hurufcom/public_html/wp-blog-header.php(19): require_once('/home/hurufcom/...') #3 /home/hurufcom/public_html/index.php(17): require('/home/hurufcom/...') #4 {main} thrown in /home/hurufcom/public_html/wp-content/themes/generatepress/page-subcategory.php on line 139