Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I attempt to enable IMCE, I get this error:
PDOException: SQLSTATE[HY000]: General error: ctor_args must be either NULL or an array in EntityAPIController->query() (line 154 of ******/sites/all/modules/entity/includes/entity.controller.inc).
Comments
Comment #1
ufku CreditAttribution: ufku commentedThis could be related. https://bugs.php.net/bug.php?id=48773
Comment #2
twardnw CreditAttribution: twardnw commentedThrough moving to a new server, and experiencing a similar issue with Drupal as a whole when I moved it over, it seems this error may be caused by too low a 'max_allowed_packet' setting in the mysql config. Since I am on my own server now, I bumped that setting up until my errors went away (currently at 100M, but I feel that is excessive).