Exceptions
Exception
RuntimeException
in
src/Model/Entity/AbstractEntity.php
(line 203)
#[Pure]public function __get($key){if (!in_array($key, self::ALLOWED_MAGIC_GET, true)) {throw new RuntimeException("Access to property '$key' is not allowed.");}return $this->$key ?? null;}
in
vendor/symfony/property-access/PropertyAccessor.php
->
__get
(line 431)
throw new NoSuchPropertyException(\sprintf('Can\'t get a way to read the property "%s" in class "%s".', $property, $class));}}}$result[self::VALUE] = $object->$name;if (isset($zval[self::REF]) && $access->canBeReference()) {$result[self::REF] = &$object->$name;}}
in
vendor/symfony/property-access/PropertyAccessor.php
->
readProperty
(line 102)
$zval = [self::VALUE => $objectOrArray,];if (\is_object($objectOrArray) && (false === strpbrk((string) $propertyPath, '.[?') || $objectOrArray instanceof \stdClass && property_exists($objectOrArray, $propertyPath))) {return $this->readProperty($zval, $propertyPath, $this->ignoreInvalidProperty)[self::VALUE];}$propertyPath = $this->getPropertyPath($propertyPath);$propertyValues = $this->readPropertiesUntil($zval, $propertyPath, $propertyPath->getLength(), $this->ignoreInvalidIndices);
in
vendor/symfony/form/Extension/Core/DataAccessor/PropertyPathAccessor.php
->
getValue
(line 97)
}private function getPropertyValue(object|array $data, PropertyPathInterface $propertyPath): mixed{try {return $this->propertyAccessor->getValue($data, $propertyPath);} catch (PropertyAccessException $e) {if (\is_array($data) && $e instanceof NoSuchIndexException) {return null;}
in
vendor/symfony/form/Extension/Core/DataAccessor/PropertyPathAccessor.php
->
getPropertyValue
(line 48)
{if (null === $propertyPath = $form->getPropertyPath()) {throw new AccessException('Unable to read from the given form data as no property path is defined.');}return $this->getPropertyValue($data, $propertyPath);}public function setValue(object|array &$data, mixed $value, FormInterface $form): void{if (null === $propertyPath = $form->getPropertyPath()) {
in
vendor/symfony/form/Extension/Core/DataAccessor/ChainAccessor.php
->
getValue
(line 35)
public function getValue(object|array $data, FormInterface $form): mixed{foreach ($this->accessors as $accessor) {if ($accessor->isReadable($data, $form)) {return $accessor->getValue($data, $form);}}throw new AccessException('Unable to read from the given form data as no accessor in the chain is able to read the data.');}
in
vendor/symfony/form/Extension/Core/DataMapper/DataMapper.php
->
getValue
(line 50)
foreach ($forms as $form) {$config = $form->getConfig();if (!$empty && $config->getMapped() && $this->dataAccessor->isReadable($data, $form)) {$form->setData($this->dataAccessor->getValue($data, $form));} else {$form->setData($config->getData());}}}
in
vendor/symfony/form/Form.php
->
mapDataToForms
(line 321)
$this->lockSetData = false;// Compound forms don't need to invoke this method if they don't have childrenif (\count($this->children) > 0) {// Update child forms from the data (unless their config data is locked)$this->config->getDataMapper()->mapDataToForms($viewData, new \RecursiveIteratorIterator(new InheritDataAwareIterator($this->children)));}if ($dispatcher->hasListeners(FormEvents::POST_SET_DATA)) {$event = new PostSetDataEvent($this, $modelData);$dispatcher->dispatch($event, FormEvents::POST_SET_DATA);
in
vendor/symfony/form/Form.php
->
setData
(line 410)
// Guarantee that the *_SET_DATA events have been triggered once the// form is initialized. This makes sure that dynamically added or// removed fields are already visible after initialization.if (!$this->defaultDataSet) {$this->setData($this->config->getData());}return $this;}
in
vendor/symfony/form/FormBuilder.php
->
initialize
(line 171)
$form->add($child->setAutoInitialize(false)->getForm());}if ($this->getAutoInitialize()) {// Automatically initialize the form if it is configured so$form->initialize();}return $form;}
in
vendor/symfony/form/FormFactory.php
->
getForm
(line 32)
/*** @return ($type is class-string<FormFlowTypeInterface> ? FormFlowInterface : FormInterface)*/public function create(string $type = FormType::class, mixed $data = null, array $options = []): FormInterface{return $this->createBuilder($type, $data, $options)->getForm();}/*** @return ($type is class-string<FormFlowTypeInterface> ? FormFlowInterface : FormInterface)*/
in
vendor/craue/formflow-bundle/Form/FormFlow.php
->
create
(line 970)
if ($formType === null) {$formType = FormType::class;}return $this->formFactory->create($formType, $this->formData, $options);}/*** Creates all steps from the given configuration.* @param array $stepsConfig
in
vendor/craue/formflow-bundle/Form/FormFlow.php
->
createFormForStep
(line 773)
/*** {@inheritDoc}*/public function createForm() {$form = $this->createFormForStep($this->currentStepNumber);if ($this->expired && $this->hasListeners(FormFlowEvents::FLOW_EXPIRED)) {$this->dispatchEvent(new FlowExpiredEvent($this, $form), FormFlowEvents::FLOW_EXPIRED);}
// return $this->redirectToRoute('app_security_authentication_login');// }$appointment = new Appointment();$flow->bind($appointment);$form = $flow->createForm();if ($flow->isValid($form)) {$flow->saveCurrentStepData($form);if ($flow->nextStep()) {
in
vendor/symfony/http-kernel/HttpKernel.php
->
appointmentBooking
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/u879680891/domains/beasoft.tech/public_html/afyaone/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 14:00:13 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead. {
"exception": {}
}
|
| INFO 14:00:13 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead. {
"exception": {}
}
|
| INFO 14:00:13 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "689a25"
},
"request_uri": "https://afyaone.beasoft.tech/_profiler/689a25",
"method": "GET"
}
|
| INFO 14:00:13 | deprecation |
User Deprecated: Support for MySQL < 8 is deprecated and will be removed in DBAL 5 (AbstractMySQLDriver.php:75 called by AbstractDriverMiddleware.php:32, https://github.com/doctrine/dbal/pull/6343, package doctrine/dbal) {
"exception": {}
}
|
Stack Trace
|
RuntimeException
|
|---|
RuntimeException:
Access to property 'consultationType' is not allowed.
at src/Model/Entity/AbstractEntity.php:203
at App\Model\Entity\AbstractEntity->__get()
(vendor/symfony/property-access/PropertyAccessor.php:431)
at Symfony\Component\PropertyAccess\PropertyAccessor->readProperty()
(vendor/symfony/property-access/PropertyAccessor.php:102)
at Symfony\Component\PropertyAccess\PropertyAccessor->getValue()
(vendor/symfony/form/Extension/Core/DataAccessor/PropertyPathAccessor.php:97)
at Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor->getPropertyValue()
(vendor/symfony/form/Extension/Core/DataAccessor/PropertyPathAccessor.php:48)
at Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor->getValue()
(vendor/symfony/form/Extension/Core/DataAccessor/ChainAccessor.php:35)
at Symfony\Component\Form\Extension\Core\DataAccessor\ChainAccessor->getValue()
(vendor/symfony/form/Extension/Core/DataMapper/DataMapper.php:50)
at Symfony\Component\Form\Extension\Core\DataMapper\DataMapper->mapDataToForms()
(vendor/symfony/form/Form.php:321)
at Symfony\Component\Form\Form->setData()
(vendor/symfony/form/Form.php:410)
at Symfony\Component\Form\Form->initialize()
(vendor/symfony/form/FormBuilder.php:171)
at Symfony\Component\Form\FormBuilder->getForm()
(vendor/symfony/form/FormFactory.php:32)
at Symfony\Component\Form\FormFactory->create()
(vendor/craue/formflow-bundle/Form/FormFlow.php:970)
at Craue\FormFlowBundle\Form\FormFlow->createFormForStep()
(vendor/craue/formflow-bundle/Form/FormFlow.php:773)
at Craue\FormFlowBundle\Form\FormFlow->createForm()
(src/Controller/Frontend/Patient/MainController.php:63)
at App\Controller\Frontend\Patient\MainController->appointmentBooking()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:193)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/home/u879680891/domains/beasoft.tech/public_html/afyaone/vendor/autoload_runtime.php')
(public/index.php:5)
|