Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of PHP Warning #18

Open
Cryptex1030 opened this issue Jul 31, 2023 · 5 comments
Open

Lots of PHP Warning #18

Cryptex1030 opened this issue Jul 31, 2023 · 5 comments

Comments

@Cryptex1030
Copy link

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
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

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
Copy link
Author

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

@theodorspringwallee
Copy link
Contributor

Dear Cryptex1030

Good to hear this.

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

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants