I tried installing with Composer, but Composer throws this error.
Varbase\composer\ScriptHandler::postDrupalScaffoldProcedure
Additional uncaught exception thrown while handling exception.
Original
TypeError: Return value of Doctrine\Common\Annotations\AnnotationRegistry::reset() must be an instance of Doctrine\Common\Annotations\void, none returned in Doctrine\Common\Annotations\AnnotationRegistry::reset() (line 55 of /var/www/html/d8/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php).Doctrine\Common\Annotations\AnnotationRegistry::reset() (Line: 113)
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery->getDefinitions() (Line: 86)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 284)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 175)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 109)
Drupal\Core\Render\ElementInfoManager->buildInfo('vartheme_admin') (Line: 76)
Drupal\Core\Render\ElementInfoManager->getInfo('form') (Line: 810)
Drupal\Core\Form\FormBuilder->prepareForm('install_select_language_form', Array, Object) (Line: 276)
Drupal\Core\Form\FormBuilder->buildForm('install_select_language_form', Object) (Line: 967)
install_get_form('Drupal\Core\Installer\Form\SelectLanguageForm', Array) (Line: 1392)
install_select_language(Array) (Line: 715)
install_run_task(Array, Array) (Line: 590)
install_run_tasks(Array, NULL) (Line: 125)
install_drupal(Object) (Line: 44)
Additional
TypeError: Return value of Doctrine\Common\Annotations\AnnotationRegistry::reset() must be an instance of Doctrine\Common\Annotations\void, none returned in Doctrine\Common\Annotations\AnnotationRegistry::reset() (line 55 of /var/www/html/d8/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php).Doctrine\Common\Annotations\AnnotationRegistry::reset() (Line: 113)
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery->getDefinitions() (Line: 86)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 284)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 175)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 109)
Drupal\Core\Render\ElementInfoManager->buildInfo('vartheme_admin') (Line: 76)
Drupal\Core\Render\ElementInfoManager->getInfo('html') (Line: 298)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 139)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 140)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 66)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 76)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 1073)
install_display_output(Array, Array, Array) (Line: 260)
_drupal_log_error(Array, 1) (Line: 602)
_drupal_exception_handler(Object)
I am using Apache 2 and PHP 7.1.22. I also tried with PHP 7.2.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot_2018-10-02 Screenshot.png | 86.01 KB | moebius_cl |
Comments
Comment #2
avpadernoComment #3
joachim namysloThat's typical if a webserver is not configured correctly or if you have changed php after installing Drupal. Dependencies from php 7.1 differ to 7.2 and some them differ to 7.3 and so forth-
If this is done on a live server check the system requirements page on drupal.org and compare your servers specs with it.
If this is done in a local environment use some debian distro and install Apache/PHP/Mysql from scratch to learn what to configure to get drupal up and running. If you know it you're able to configure a vps or even root server as well. This is not a Varbase/Drupal-caused issue.
Tell us some more about the environment the isntallation faild please, to help you to solve this,
OS: What OS is used
SERVER: Wahrt Webserver is used - Nginx/Apache
DB: Waht Database do your use Postgres/mySQL/Mariadb 5 or 8
PHP PHP 7.2 or 7.4
Is PGP-FPM used or not
Stuff like that is critical for a successfull installation and for debugging the error,
Drupal Core 8.9.13 runs best with PHP 7.4 so the server should fullfil this dpendency before installing Varbase again,
Comment #4
avpadernoComment #5
rajab natshahComment #6
rajab natshah