On selecting any content to add, I get the following error,

Recoverable fatal error: Argument 2 passed to SelectQuery::fields() must be an array, null given, called in /includes/entity.inc on line 284 and defined in SelectQuery->fields() (line 1320 of /includes/database/select.inc).

I'm using a leased server. one issue is still remaining in the in the configuration of the system I believe it is beyond my scope to resolve, have asked the server support to assist in the same,
The warning that I get on running status report is:

PHP register globals Enabled ('1')
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings.

Please help

Regards
Rajeev

Comments

rangray’s picture

Followup scenario:

PHP register globals Enabled ('1')
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings.

This is rectified by the server guys and now on accessing the site a new error is seen:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drp_e17hk2gleh.dr_classified_node' doesn't exist: SELECT cn.nid AS nid, cn.vid AS vid, cn.expires AS expires, cn.notify AS notify FROM {classified_node} cn WHERE (cn.vid IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 5 ) in classified_load() (line 1157 of /sites/all/modules/ed_classified/classified.module).

is this new error due to register globals disabled???

Help...

alexandreracine’s picture

Status: Active » Closed (cannot reproduce)

Is this still the case?
This is old, cleaning and closing.

If it is still the case, and still want to reopen, just change the issue status.