SQLSTATE[HY000] Issue

Laraship QuestionsCategory: InstallationSQLSTATE[HY000] Issue
ClickBankGuru asked 6 years ago
Hi, I'm facing this issue on my shared hosting ! http://prntscr.com/le2nw3 Illuminate Database QueryException (HY000) SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname must be a string specifying an existing class (SQL: select * from settings where code = confirm_user_registration_email limit 1) Thanks
1 Answers
laraship Staff answered 6 years ago

Hello,

Can you make sure the PHP version set on cPanel is the same you used to run composer update.

Thanks

ClickBankGuru replied 6 years ago

In my computer I have PHP 7.2.10 and in my hosting I have 7.0

Is there anyway to fix this ?

Thanks in advance