cancel
Showing results for 
Search instead for 
Did you mean: 

Undefined method Interceptor::getSchemaListener() after upgrading to 2.3.4

Undefined method Interceptor::getSchemaListener() after upgrading to 2.3.4

I just upgraded to 2.3.4 and get this message after running `php bin/magento setup:db-data:upgrade`:

```
PHP Fatal error: Uncaught Error: Call to undefined method Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor::getSchemaListener() in C:\Sites\magento\setup\src\Magento\Setup\Model\Installer.php:939
```

OS is Windows Server 2016, in case it helps. Thanks in advance!

1 REPLY 1

Re: Undefined method Interceptor::getSchemaListener() after upgrading to 2.3.4

Hi @mcaballefi7579 

This issue generate from file path :

/setup/src/Magento/Setup/Model/Installer.php

Due to compilation issue "DataSetupFactory" generate this issue.
Please try to resolve this issue by run below commands:

rm -rf generated/*
php bin/magento setup:di:compile
sudo chmod -R 777 var/ pub/ generated

It may help you to resolve issue.

If issue resolve, please click on 'Kudos' & Accept as Solution!

 

Problem solved? Click Accept as Solution!