Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Not able to install (FatalThrowableError in ErrorHandler.php line 362:) #959

Open
bsraju opened this issue Jan 29, 2021 · 10 comments
Open

Comments

@bsraju
Copy link

bsraju commented Jan 29, 2021

Problem

I've uploaded the pagekit to folder and trying to install. When i request the page, following error comes up .

FatalThrowableError in ErrorHandler.php line 362:
Type error: Too few arguments to function Symfony\Component\Debug\ErrorHandler::handleError(), 4 passed and at least 5 expected

in ErrorHandler.php line 362
at ErrorHandler->handleError() in DocParser.php line 967
at DocParser->Identifier() in DocParser.php line 665
at DocParser->Annotation() in DocParser.php line 641
at DocParser->Annotations() in DocParser.php line 334
at DocParser->parse() in DocParser.php line 496
at DocParser->collectAnnotationMetadata() in DocParser.php line 718
at DocParser->Annotation() in DocParser.php line 641
at DocParser->Annotations() in DocParser.php line 334
at DocParser->parse() in SimpleAnnotationReader.php line 75
at SimpleAnnotationReader->getMethodAnnotations() in AnnotationLoader.php line 64
at AnnotationLoader->load() in RoutesLoader.php line 91
at RoutesLoader->addController() in RoutesLoader.php line 52
at RoutesLoader->load() in Router.php line 167
at Router->getRouteCollection() in Router.php line 187
at Router->getMatcher() in Router.php line 269
at Router->match() in RouterListener.php line 47
at RouterListener->onRequest()
at call_user_func_array() in EventDispatcher.php line 123
at EventDispatcher->trigger() in HttpKernel.php line 72
at HttpKernel->handle() in Application.php line 67
at Application->run() in app.php line 29
at require_once('/home/admin/web/iarsc.in/public_html/aoss/app/installer/app.php') in index.php line 42

I've installed the composer and other extensions.

Technical Details

  • Pagekit version:1.0.18
  • Webserver:Apache/Nginix
  • Database: Mysql
  • PHP Version: 8
@Ushiosan23
Copy link

I have the same problem.

@markzyi
Copy link

markzyi commented Nov 11, 2021

Me too. I changed to PHP7.4, but still get that, tried to change the composer.json file but still getting the same problem

@rzelnik
Copy link

rzelnik commented Mar 15, 2022

I have the same issue.

@Jackysi
Copy link

Jackysi commented Jun 19, 2022

No updates? anyone solved?

@sil-zh
Copy link

sil-zh commented Sep 14, 2022

No updates? anyone solved?

i know, the issue is allready open since a longer time - but i still have this problem.
any help with this? was anybody able to solve it?

@Jackysi
Copy link

Jackysi commented Sep 18, 2022

No body cares...

@sil-zh
Copy link

sil-zh commented Sep 28, 2022

looks like - sadly. i liked pagekit.
does anyone has changed the framework and has good experiences with another framework?

@ahoiroman
Copy link
Contributor

Statamic is pretty great, but you definitely need Laravel and CSS-skills to handle this. Otherwise there's WinterCMS, which is the MIT-fork of OctoberCMS.

@fernandofagonde
Copy link

This is due to a PHP7.4 issue in doctrine/annotator. The installation composer.json requires "doctrine/annotations": "~1.2.3"
But the bug in annotator is not fixed until 1.7.0.

To resolve yourself update composer.json to require
"doctrine/annotations": "~1.7.0"

Then update composer for that package:
composer.phar update doctrine/annotations

@sil-zh
Copy link

sil-zh commented Oct 20, 2022

This is due to a PHP7.4 issue in doctrine/annotator. The installation composer.json requires "doctrine/annotations": "~1.2.3" But the bug in annotator is not fixed until 1.7.0.

To resolve yourself update composer.json to require "doctrine/annotations": "~1.7.0"

Then update composer for that package: composer.phar update doctrine/annotations

thanks, but this works not in my case. Same as OP i have PHP Version 8 installed. Any soultion for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants