Domestically (WAMP) I’ve created a brand new GIT department to put in Drupal Commerce on my web site. Every little thing went effectively and I’ve begun configuring my new store. However once I determined to drag this department into my distant check web site, I get this error:
Catchable deadly error: Argument 2 handed to SelectQuery::fields() should be of the kind array, null given, referred to as in /house/httpd/mysite/check.mysite.se/consists of/entity.inc on line 317 and outlined in /house/httpd/mysite/check.mysite.se/consists of/database/choose.inc on line 1316
Since I am unable to attain my admin pages (white display with error message) and Drush stopped working as effectively, I used MySQL from the command line to import the database on the distant check web site. So now each the codebase and the database needs to be the identical on the distant check web site as I’ve domestically. As an alternative I get the above error. Any concepts? I’ve a sense that Guidelines is concerned on this, however that is only a feeling.
I’ve now carried out every part from the start, with the identical end result. I’ve put in all of the commerce modules and their dependencies (Entity api, Guidelines, Handle discipline etcetera) within the recommended order. Every little thing works high-quality till I export a database dump and add & commit all adjustments to my new git department. After pulling that department and importing the database dump in my check web site (and even domestically), I get the message above.
I’ve managed to run cron, which gave me this message:
Consumer warning: Lacking database columns for the exportable entity
rules_config as outlined by entity_exportable_schema_fields(). Replace
the in accordance module and run replace.php! i _entity_defaults_rebuild()
(rad 872 av C:wampwwwsitesallmodulesentityentity.module).
… allthough I’m utilizing the most recent model of Guidelines and once I run the database replace, the message is that there is no such thing as a replace pending.
I’ve additionally seen this warning:
Warning: array_flip() expects parameter 1 to be array, null given i
DrupalDefaultEntityController->buildQuery() (rad 308 av
Any hints on what I can do to get my web site again on observe?