<p>Today, I have moved a fully up-to-date installation to a new server, and three times now on a seemingly successful installation, after going to update to the latest version (the existing install is up to date) I have got a &quot;fatal error&quot;.</p>
<p>Any help on where to find what's going wrong so I am not going around in circles any longer would be wonderful.</p>

CC BY-SA 4.0
2021-11-06T23:00:33.147Z
Errors should be logged to `path/to/installation/storage/logs/web.log`. There should be a “stack trace” in there, starting with some kind of error message, followed by multiple numbered lines describing the source of the issue. If you can track that down, update your question with those lines, and it shouldn't take much to identify a fix.
August Miller
CC BY-SA 4.0
2021-11-06T23:17:50.350Z
The latest error seems to allude to

`2021-11-06 22:32:35 [-][301][-][warning][craft\services\Plugins::init] Invalid plugin base path: /storage/av08251/www/public_html/vendor/workingconcept/craft-cloudflare/src
2021-11-06 22:32:35 [-][301][-][info][application] $_GET = [
    'p' => 'admin/actions/users/session-info'
    'dontExtendSession' => '1'`

That plugin is not installed, so the folder didn't exist on the existing install.
Emma Swann
CC BY-SA 4.0
2021-11-07T00:05:29.313Z
I went back and saw that plugin was only turned off, not removed, so went and removed it, re-exported the database and imported, but I'm now getting error 500 instead.
Emma Swann
CC BY-SA 4.0
2021-11-07T01:14:03.097Z
This is the error i'm now seeing:

`PHP Fatal error:  require(): Failed opening required '/storage/[username]/www/public_html/vendor/composer/../cakephp/core/functions.php' (include_path='.:/usr/share/php') in /storage/[username]/www/public_html/vendor/composer/autoload_real.php on line 71`

without the full path I don't know exactly which file needs to be found for the site to appear.
Emma Swann
CC BY-SA 4.0
2021-11-11T01:25:04.487Z
Whoa, uhh… I'm not sure why `cakephp` would be a dependency here… never seen an error like this, before! Are you able to log in and ensure that your `vendor` directory is up-to-date with `composer.lock`? (Sorry for the delayed response!)
August Miller
<error><server><installation>
Update following site import leads to fatal error
# Update following site import leads to fatal error

(Asked by: username_0 on 2021-11-06)

Today, I have moved a fully up-to-date installation to a new server, and three times now on a seemingly successful installation, after going to update to the latest version (the existing install is up to date) I have got a "fatal error".

Any help on where to find what's going wrong so I am not going around in circles any longer would be wonderful.

**Tags:** error, server, installation

> **Comments:**
> **username_1**: Errors should be logged to `path/to/installation/storage/logs/web.log`. There should be a “stack trace” in there, starting with some kind of error message, followed by multiple numbered lines describing the source of the issue. If you can track that down, update your question with those lines, and it shouldn't take much to identify a fix.  
> **username_0**: The latest error seems to allude to  `2021-11-06 22:32:35 [-][301][-][warning][craft\services\Plugins::init] Invalid plugin base path: /storage/av08251/www/public_html/vendor/workingconcept/craft-cloudflare/src 2021-11-06 22:32:35 [-][301][-][info][application] $_GET = [     'p' => 'admin/actions/users/session-info'     'dontExtendSession' => '1'`  That plugin is not installed, so the folder didn't exist on the existing install.  
> **username_0**: I went back and saw that plugin was only turned off, not removed, so went and removed it, re-exported the database and imported, but I'm now getting error 500 instead.  
> **username_0**: This is the error i'm now seeing:  `PHP Fatal error:  require(): Failed opening required '/storage/[username]/www/public_html/vendor/composer/../cakephp/core/functions.php' (include_path='.:/usr/share/php') in /storage/[username]/www/public_html/vendor/composer/autoload_real.php on line 71`  without the full path I don't know exactly which file needs to be found for the site to appear.  
> **username_1**: Whoa, uhh… I'm not sure why `cakephp` would be a dependency here… never seen an error like this, before! Are you able to log in and ensure that your `vendor` directory is up-to-date with `composer.lock`? (Sorry for the delayed response!)  

---

## 0 answers

