For issues related to the current stable release please use it's own Help forum.
IMPORTANT:Please read this before using an git or nightly build version: wiki.webtrees.net/en/GIT

Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC: Install error "id() must be of the type integer"

Install error "id() must be of the type integer" 3 days 9 hours ago #1

  • thedawn
  • thedawn's Avatar
  • Offline
  • New
  • Posts: 2
Site is at familyweb.greenstrands.com/

I've tried installing many times and many ways.
I enter the database details, click next.
I enter the username details, click next.

I always get "An unexpected database error occurred" followed by this text:

Return value of Fisharebest\Webtrees\Auth::id() must be of the type integer or null, string returned
#0 …/app/Auth.php(174): Fisharebest\Webtrees\Auth::id()
#1 …/app/Http/Middleware/UseSession.php(51): Fisharebest\Webtrees\Auth::user()
#2 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#3 …/app/Http/Middleware/UseFilesystem.php(49): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#4 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseFilesystem->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#5 …/app/Http/Middleware/UseCache.php(44): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#6 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseCache->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#7 …/app/Http/Middleware/UpdateDatabaseSchema.php(56): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#8 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#9 …/app/Http/Middleware/UseDebugbar.php(61): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#10 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDebugbar->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#11 …/app/Http/Middleware/UseDatabase.php(60): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#12 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#13 …/app/Http/Middleware/CheckForMaintenanceMode.php(49): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#14 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#15 …/app/Http/Middleware/HandleExceptions.php(53): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#16 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#17 …/app/Http/Middleware/EmitResponse.php(52): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#18 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#19 …/app/Http/Middleware/PhpEnvironment.php(46): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#20 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\PhpEnvironment->process(Object(Fisharebest\Webtrees\Http\Request), Object(Middleland\Dispatcher))
#21 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Fisharebest\Webtrees\Http\Request))
#22 …/index.php(44): Middleland\Dispatcher->dispatch(Object(Fisharebest\Webtrees\Http\Request))
#23 {main}

Thanks for any help.
The administrator has disabled public write access.

Install error "id() must be of the type integer" 3 days 7 hours ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10908
Your site appears to be working now, so I guess you got this sorted.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Install error "id() must be of the type integer" 3 days 3 hours ago #3

  • thedawn
  • thedawn's Avatar
  • Offline
  • New
  • Posts: 2
I guess I did!

Very strange because I did absolutely nothing. It must have been something stored in a cookie somewhere ...

Thanks for checking.
Last Edit: 3 days 3 hours ago by thedawn.
The administrator has disabled public write access.
Powered by Kunena Forum