Closed ddrury closed 4 years ago
Hang fire for a bit it may be a server problem. On the website home page I get the error as above logged in or not but on my homepage for the same modules I get a server 500 error. Any advice welcome!
Class Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlock does not exist
The usual cause of this error is that the file app/Http/RequestHandlers/TreePageBlock.php
does not exist or is corrupt.
Alternatively, the autoloader is failing vendor/autoload.php
and vendor/composer/autoload*
fixed it (hopefully for good!). I discovered that php-fpm.conf was over-riding the php error reporting. Setting that to display errors meant I then got a php error instead of the server 500 error. The error indicated a composer autoload problem (as you suggested) so I installed composer - don't see why that was necessary but as I say it's working now
Oh spoke too soon - the error as above is back!!
php-fpm had stopped!!
This is as a result of installing the latest master with a v1.7 database (which is now at schema 43) The installed blocks which trigger this error are statistics, on this day and slideshow.
app\Http\RequestHandlers\TreePageBlock.php/
does existThis is on a new server setup (nginx/php-fpm7.4) using your suggested nginx config for pretty urls