Jump to content

[SOLVED] Strange error when migrating to another server.


alexm
 Share

Recommended Posts

Has anyone seen the following error. I've not ran into this particular error before and can't figure out what's causing the issue.

Notice: Undefined property: ProcessWire\ProcessWire::$hooks in /var/www/vhosts/domain.co.uk/httpdocs/wire/core/Wire.php on line 371
What the… Fatal Error: Uncaught TypeError: Argument 1 passed to WireCache::preload() must be of the type array, null given, called in wire/core/ProcessWire.php on line 503 and defined in wire/core/WireCache.php:149

#0 wire/core/ProcessWire.php (503): WireCache->preload(NULL)
#1 wire/core/ProcessWire.php (304): ProcessWire->load(Object(Config))
#2 index.php (52): ProcessWire->__construct(Object(Config))
#3 {main}
thrown (line 149 of wire/core/WireCache.php)

Thanks in advance for any help ?

Link to comment
Share on other sites

@netcarver There wasn't no. I did check this. It's now resolved. I dug around for a bit, and then considered whether the person I'd handed the site off to had unpackaged everything properly.

After re-uploading the package and connecting it all up on their server for them it's working.

Something must have been missed, or perhaps they used FTP to upload and a file got skipped.

Thank you for your response though ?

  • Like 1
Link to comment
Share on other sites

  • alexm changed the title to [SOLVED] Strange error when migrating to another server.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...