alexm Posted August 20, 2021 Share Posted August 20, 2021 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 More sharing options...
netcarver Posted August 20, 2021 Share Posted August 20, 2021 Any difference in PHP versions between these two setups? 1 Link to comment Share on other sites More sharing options...
alexm Posted August 21, 2021 Author Share Posted August 21, 2021 @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 ? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now