Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299794

Error: Call to a member function prepare() on null after updating to Drupal 9.1.0 / PHP 7.4.11

$
0
0

Problem/Motivation

Recently i keep getting this error ever-since moving to drupal 9.1.x

Fatal error: Uncaught Error: Call to a member function prepare() on null in D:\wamp64\www\workbench\workbench_d9_test1\core\lib\Drupal\Core\Database\StatementWrapper.php:49
Stack trace:
#0 D:\wamp64\www\workbench\workbench_d9_test1\core\lib\Drupal\Core\Database\Connection.php(557): Drupal\Core\Database\StatementWrapper->__construct(Object(Drupal\Core\Database\Driver\mysql\Connection), NULL, 'DELETE FROM "ke...', Array)
#1 D:\wamp64\www\workbench\workbench_d9_test1\core\lib\Drupal\Core\Database\Connection.php(822): Drupal\Core\Database\Connection->prepareStatement('DELETE FROM "ke...', Array)
#2 D:\wamp64\www\workbench\workbench_d9_test1\core\lib\Drupal\Core\Database\Driver\mysql\Connection.php(97): Drupal\Core\Database\Connection->query('DELETE FROM {ke...', Array, Array)
#3 D:\wamp64\www\workbench\workbench_d9_test1\core\lib\Drupal\Core\Database\Query\Delete.php(55): Drupal\Core\Database\Driver\mysql\Connection->query('DELETE FROM {ke...', Array, Array)
#4 D:\wamp64\www\workbench\workbench_d9_test1\core\lib\Drupal\Core\K in D:\wamp64\www\workbench\workbench_d9_test1\core\lib\Drupal\Core\Database\StatementWrapper.php on line 49

Steps to reproduce

Proposed resolution

https://www.drupal.org/project/business_rules/issues/3187013#comment-139...

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 299794

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>