wallee-payment / prestashop-1.7

Wallee Integration for Prestashop 1.7
Apache License 2.0
2 stars 0 forks source link

Lots of PHP Warning #18

Open Cryptex1030 opened 1 year ago

Cryptex1030 commented 1 year ago

For several weeks, I have a lot of slowdowns on my backoffice. I contacted my host who informs me that I will have to look with you instead, my error log only contains Wallee errors, here they are :

FastCGI: server "/home/clients/xxx/.config/apache/lorem.ch/.fpm/php5.external" stderr: PHP message: PHP Warning: set_time_limit() has been disabled for security reasons in /home/clients/xxx/web/modules/wallee/controllers/front/cron.php on line 22, referer https://lorem.ch/fr/rechercher?controller=search&orderby=position&orderway=desc&s=fenioux&submit_search=&gclid=idx
FastCGI: server "/home/clients/xxx/.config/apache/lorem.ch/.fpm/php5.external" stderr: PHP message: PHP Deprecated: Non-static method WalleeBasemodule::hookActionOrderGridDefinitionModifier() should not be called statically in /home/clients/xxx/web/modules/wallee/wallee.php on line 531
PHP message: PHP Deprecated: Non-static method WalleeBasemodule::getActionsColumn() should not be called statically in /home/clients/xxx/web/modules/wallee/inc/Basemodule.php on line 1744
PHP message: PHP Deprecated: Non-static method WalleeBasemodule::getColumnById() should not be called statically in /home/clients/xxx/web/modules/wallee/inc/Basemodule.php on line 1787
PHP message: PHP Deprecated: Non-static method WalleeBasemodule::hookActionOrderGridQueryBuilderModifier() should not be called statically in /home/clients/xxx/web/modules/wallee/wallee.php on line 536, referer https://lorem.ch/admin123/index.php?controller=AdminCustomerThreads&token=tokentokentoken
FastCGI: server "/home/clients/xxx/.config/apache/lorem.ch/.fpm/php5.external" stderr: PHP message: PHP Warning: set_time_limit() has been disabled for security reasons in /home/clients/xxx/web/modules/wallee/controllers/front/cron.php on line 22, referer https://lorem.ch/admin123/index.php?controller=AdminCustomerThreads&token=tokentokentoken
FastCGI: server "/home/clients/xxx/.config/apache/lorem.ch/.fpm/php5.external" stderr: PHP message: PHP Warning: set_time_limit() has been disabled for security reasons in /home/clients/xxx/web/modules/wallee/controllers/front/cron.php on line 22, referer https://lorem.ch/admin123/index.php?controller=AdminCustomerThreads&token=tokentokentoken
FastCGI: server "/home/clients/xxx/.config/apache/lorem.ch/.fpm/php5.external" stderr: PHP message: PHP Warning: set_time_limit() has been disabled for security reasons in /home/clients/xxx/web/modules/wallee/controllers/front/cron.php on line 22, referer https://lorem.ch/admin123/index.php?controller=AdminCarts&token=tokentokentoken2
FastCGI: server "/home/clients/xxx/.config/apache/lorem.ch/.fpm/php5.external" stderr: PHP message: PHP Warning: set_time_limit() has been disabled for security reasons in /home/clients/xxx/web/modules/wallee/controllers/front/cron.php on line 22, referer https://lorem.ch/admin123/index.php?controller=AdminCustomerThreads&token=tokentokentoken
FastCGI: server "/home/clients/xxx/.config/apache/lorem.ch/.fpm/php5.external" stderr: PHP message: PHP Warning: set_time_limit() has been disabled for security reasons in /home/clients/xxx/web/modules/wallee/controllers/front/cron.php on line 22, referer https://lorem.ch/admin123/index.php/sell/customers/?_token=token3

I'm on Prestashop 1.7.8.5 and PHP 7.4.33

theodorspringwallee commented 1 year ago

Dear Cryptex1030

Thanks for your inquiry, I'll forward this to our plugin team.

Regarding the FastCGI warning, it seems you are using PHP5? (php5.external)

FastCGI: server "/home/clients/xxx/.config/apache/lorem.ch/.fpm/php5.external"

Thanks for your answer.

Best regards

Cryptex1030 commented 1 year ago

I'm on PHP 7.4.33, I'm not sure why the error says php 5

2023-08-02 17_57_35-Window

theodorspringwallee commented 1 year ago

Dear Cryptex1030

About this warning:

FastCGI: server "/home/clients/xxx/.config/apache/lorem.ch/.fpm/php5.external" stderr: PHP message: PHP Warning: set_time_limit() has been disabled for security reasons in ...

Is the set_time_limit method disabled within your php.ini settings? https://stackoverflow.com/a/17434425

Thanks for checking this.

Best regards

Cryptex1030 commented 1 year ago

Indeed, after activation, this first warning message no longer appears.

theodorspringwallee commented 1 year ago

Dear Cryptex1030

Good to hear this.

We will let you know, when we have fixed the other "non-static" warnings.

Best regards