Jump to content

Fatal error after updating to latest version (3.0.165)


neonwired
 Share

Recommended Posts

I'm updating a processwire site from 3.0.16 to the latest version and immediately get this error: -

Fatal error: Exception: 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 (in ......./public_html/wire/core/ProcessWire.php line 494) #0 ............../public_html/wire/core/ProcessWire.php(302): ProcessWire\ProcessWire->load(Object(ProcessWire\Config)) #1 ..................../public_html/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #2 {main} in ........./public_html/index.php on line 64

As index and htacess haven't changed i just swapped out the wire directory as specified on https://processwire.com/docs/start/install/upgrade/#general-upgrade-process

Site is on php 7.3, db is mariadb 10.3

Link to comment
Share on other sites

This is a long shot, but you should start by making sure that file WireDatabasePDOStatement.php exists in /wire/core/. It could potentially be an issue with one or more missing files, so getting a new copy of the wire directory could be a good idea as well.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...