Even though we are on a more powerful server, the site is loading too slow. We have also tested the same by changing the DB from MySQL to MariaDB but still no result.
We have also reinstalled all the apps like php, nginx and all the stuffs, still there is no result. Where as our server admin says there is no issue with server and there is issue with the script.
This is the error we have found in error logs
2019/11/17 13:57:58 [error] 3359#0: *302850 FastCGI sent in stderr: "PHP message: CHV\ImageException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'deleted_content_original_filename' at row 1 (LINE:473) in /home/public_html/app/lib/classes/class.image.php:1429
Stack trace:
#0 /home/public_html/app/loader.php(409): CHV\Image::deleteExpired(50)
#1 [internal function]: CHV\{closure}()
#2 {main}
PHP message: CHV\UserException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'deleted_content_original_filename' at row 1 (LINE:473) in /home/public_html/app/lib/classes/class.user.php:448
Stack trace:
#0 /home/public_html/app/lib/classes/class.user.php(619): CHV\User::delete(Array)
#1 /home/public_html/app/loader.php(422): CHV\User::cleanUnconfirmed(5)
#2 [internal function]: CHV\{closure}()
[Mon Nov 18 15:39:53.758714 2019] [php7:notice] [pid 2846] [client 127.0.0.1:42866] CHV\\UserException:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'deleted_content_original_filename' at row 1
(LINE:473) in /home/public_html/app/lib/classes/class.user.php:448\nStack trace:\n#0
/home/public_html/app/lib/classes/class.user.php(619): CHV\\User::delete(Array)\n#1
/home/public_html/app/loader.php(422): CHV\\User::cleanUnconfirmed(5)\n#2 [internal function]: CHV\\
{closure}()\n#3 {main}, referer: https://epbestdriveraward.com/DriverNoTrafficRegister
And also admin says, this url is taking a lot of time to execute and also causing the website to go down
https://xxx.com/?queue&r=dde8bad80d5a3e4c0ab2300d1df7cf4f
We have also reinstalled all the apps like php, nginx and all the stuffs, still there is no result. Where as our server admin says there is no issue with server and there is issue with the script.
This is the error we have found in error logs
2019/11/17 13:57:58 [error] 3359#0: *302850 FastCGI sent in stderr: "PHP message: CHV\ImageException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'deleted_content_original_filename' at row 1 (LINE:473) in /home/public_html/app/lib/classes/class.image.php:1429
Stack trace:
#0 /home/public_html/app/loader.php(409): CHV\Image::deleteExpired(50)
#1 [internal function]: CHV\{closure}()
#2 {main}
PHP message: CHV\UserException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'deleted_content_original_filename' at row 1 (LINE:473) in /home/public_html/app/lib/classes/class.user.php:448
Stack trace:
#0 /home/public_html/app/lib/classes/class.user.php(619): CHV\User::delete(Array)
#1 /home/public_html/app/loader.php(422): CHV\User::cleanUnconfirmed(5)
#2 [internal function]: CHV\{closure}()
[Mon Nov 18 15:39:53.758714 2019] [php7:notice] [pid 2846] [client 127.0.0.1:42866] CHV\\UserException:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'deleted_content_original_filename' at row 1
(LINE:473) in /home/public_html/app/lib/classes/class.user.php:448\nStack trace:\n#0
/home/public_html/app/lib/classes/class.user.php(619): CHV\\User::delete(Array)\n#1
/home/public_html/app/loader.php(422): CHV\\User::cleanUnconfirmed(5)\n#2 [internal function]: CHV\\
{closure}()\n#3 {main}, referer: https://epbestdriveraward.com/DriverNoTrafficRegister
And also admin says, this url is taking a lot of time to execute and also causing the website to go down
https://xxx.com/?queue&r=dde8bad80d5a3e4c0ab2300d1df7cf4f