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

SQL error: possible conflict with upgrade to PHP8 #19

Open
maverick85 opened this issue Dec 5, 2022 · 1 comment
Open

SQL error: possible conflict with upgrade to PHP8 #19

maverick85 opened this issue Dec 5, 2022 · 1 comment

Comments

@maverick85
Copy link

Hi,

This is an error which did not occur prior to moving to PHP8. We have updated WHMCS to 8.6.1 and OpenProvider WHMCS module with the with the idna_convert.class.php fix for PHP8 compatibility.

Now, when cron runs we get the following error:

# runuser -uapache -- php -q /var/www/app/crons/cron.php -F -vvv

WHMCS Automation Task Utility: all
==================================

SQLSTATE[HY093]: Invalid parameter number (SQL: select * from `openprovidersslnew_orders` where `status` = PAI) Daily Cron Automation Mode

This error does not prevent cron from completing, simply issues this message every time it runs. In the given example we ran it manually.

@sapillai
Copy link
Collaborator

Hi @maverick85,

Thank you for reporting the issue.

I was able to recreate the problem with PHP 8.1 and it has been added to our to-do list.

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