Arkadaşlar Merhaba,

Opencart admin girişi işlemi login yapınca 503 hatası atıyor, bu zamana kadar her şey normal çalışıyordu kendi kendine bu duruma geldi sizce sorun nerden kaynaklanıyor






opencart sürüm 3.0.2.0
sunucudaki tüm opencart siteler aynı durumda
mod security kapattım ama yine olmadı
error.log
[12-Apr-2024 22:10:10 UTC] PHP Fatal error:  Call to a member function getCategory() on null in /home/srmsound/public_html/storage/modification/catalog/controller/common/search.php on line 18
[13-Apr-2024 15:54:58 UTC] PHP Fatal error:  Call to a member function getCategory() on null in /home/srmsound/public_html/storage/modification/catalog/controller/common/search.php on line 18
[29-Apr-2024 17:50:02 UTC] PHP Fatal error:  Call to a member function getCategory() on null in /home/srmsound/public_html/storage/modification/catalog/controller/common/search.php on line 18
[30-Apr-2024 09:45:01 UTC] PHP Fatal error:  Call to a member function getCategory() on null in /home/srmsound/public_html/storage/modification/catalog/controller/common/search.php on line 18
[18-May-2024 18:00:06 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[27-May-2024 09:18:30 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[28-May-2024 04:11:59 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[28-May-2024 06:16:09 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[28-May-2024 09:47:21 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[28-May-2024 22:51:51 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[29-May-2024 12:07:13 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[29-May-2024 14:27:51 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[29-May-2024 19:04:55 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[30-May-2024 00:15:30 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[30-May-2024 01:36:05 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[30-May-2024 07:23:40 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[31-May-2024 01:07:28 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[04-Jun-2024 01:35:08 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR ps. in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[08-Jul-2024 11:13:57 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-50, 50' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR p in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[27-Jul-2024 06:49:43 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR p in /home/srmsound/public_html/system/library/db/mysqli.php on line 40
[28-Jul-2024 11:43:01 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message '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 '-12, 12' at line 41<br />Error No: 1064<br />
            SELECT 
                p.product_id, 
                (
                    SELECT AVG(rating) total 
                    FROM `oc_review` r1 
                    WHERE 
                        r1.product_id = p.product_id 
                        AND r1.status = '1' 
                    GROUP BY r1.product_id
                ) rating, 
                (
                    SELECT price 
                    FROM `oc_product_discount` pd2 
                    WHERE 
                        pd2.product_id = p.product_id 
                        AND pd2.customer_group_id = '1' 
                        AND pd2.quantity = '1' 
                        AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) 
                        AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
                    ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
                ) discount, 
                (
                    SELECT price 
                    FROM `oc_product_special` ps 
                    WHERE 
                        ps.product_id = p.product_id 
                        AND ps.customer_group_id = '1' 
                        AND ((ps.date_start = '0000-00-00' OR p in /home/srmsound/public_html/system/library/db/mysqli.php on line 40