SelectQuery::fields() must be an array, null given entity.inc on line 284 SelectQuery->fields() (line 1262 select.inc

Created on 15 May 2011, over 13 years ago
Updated 9 April 2024, 8 months ago

Upgrading a very small site from 6.2 to 7.0, just looking for advice. When attempting to run update it starts and then dies here:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: http://www.fourtiresandfuel.com/update.php?id=18&op=do StatusText: Service unavailable (with message) ResponseText: Recoverable fatal error: Argument 2 passed to SelectQuery::fields() must be an array, null given, called in /home/hoslot5/public_html/includes/entity.inc on line 284 and defined in SelectQuery->fields() (line 1262 of /home/hoslot5/public_html/includes/database/select.inc).

Error page:
Notice: is_dir() [function.is-dir]: Unable to find the wrapper "public" - did you forget to enable it when you configured PHP? in file_scan_directory() (line 1975 of /home/hoslot5/public_html/includes/file.inc).
Notice: is_dir() [function.is-dir]: Unable to find the wrapper "public" - did you forget to enable it when you configured PHP? in file_scan_directory() (line 1975 of /home/hoslot5/public_html/includes/file.inc).
Notice: is_dir() [function.is-dir]: Unable to find the wrapper "public" - did you forget to enable it when you configured PHP? in file_scan_directory() (line 1975 of /home/hoslot5/public_html/includes/file.inc).
Notice: is_dir() [function.is-dir]: Unable to find the wrapper "public" - did you forget to enable it when you configured PHP? in file_scan_directory() (line 1975 of /home/hoslot5/public_html/includes/file.inc).

The update process was aborted prematurely while running update #7012 in user.module. All errors have been logged.

If this is posted somewhere and I missed it I apologize, I need sleep :)

πŸ› Bug report
Status

Needs work

Version

7.0 ⚰️

Component
EntityΒ  β†’

Last updated about 2 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States Starminder

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Just ran into the same issue when trying to import a CSV file using feeds.
    Indeed it was solved by clearing cache and running cron. That shouldn't happen and is not an appropriate fix, but at least we have a workaround! ;)

Production build 0.71.5 2024