Okay
  Public Ticket #2965863
Error
Closed

Comments

  • Philip started the conversation

    In the E-Mail to the customers the Link zu cancel the Date causes an Errror.

    Can you help me?

    Slim Application Error

    The application could not run because of the following error:

    Details

    Type: Error Message: Call to a member function getToken() on null File: /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/src/Application/Services/User/CustomerApplicationService.php Line: 128

    Trace

    #0 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/src/Application/Commands/Booking/Appointment/CancelBookingRemotelyCommandHandler.php(69): AmeliaBookingApplicationServicesUserCustomerApplicationService->isCustomerBooking(NULL, NULL, '2c6455349a')
    #1 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/league/tactician/src/Handler/CommandHandlerMiddleware.php(71): AmeliaBookingApplicationCommandsBookingAppointmentCancelBookingRemotelyCommandHandler->handle(Object(AmeliaBookingApplicationCommandsBookingAppointmentCancelBookingRemotelyCommand))
    #2 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/league/tactician/src/CommandBus.php(62): LeagueTacticianHandlerCommandHandlerMiddleware->execute(Object(AmeliaBookingApplicationCommandsBookingAppointmentCancelBookingRemotelyCommand), Object(Closure))
    #3 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/league/tactician/src/Plugins/LockingMiddleware.php(36): LeagueTacticianCommandBus->LeagueTactician{closure}(Object(AmeliaBookingApplicationCommandsBookingAppointmentCancelBookingRemotelyCommand))
    #4 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/league/tactician/src/Plugins/LockingMiddleware.php(66): LeagueTacticianPluginsLockingMiddleware->LeagueTacticianPlugins{closure}()
    #5 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/league/tactician/src/Plugins/LockingMiddleware.php(45): LeagueTacticianPluginsLockingMiddleware->executeQueuedJobs()
    #6 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/league/tactician/src/CommandBus.php(62): LeagueTacticianPluginsLockingMiddleware->execute(Object(AmeliaBookingApplicationCommandsBookingAppointmentCancelBookingRemotelyCommand), Object(Closure))
    #7 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/league/tactician/src/CommandBus.php(42): LeagueTacticianCommandBus->LeagueTactician{closure}(Object(AmeliaBookingApplicationCommandsBookingAppointmentCancelBookingRemotelyCommand))
    #8 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/src/Application/Controller/Controller.php(107): LeagueTacticianCommandBus->handle(Object(AmeliaBookingApplicationCommandsBookingAppointmentCancelBookingRemotelyCommand))
    #9 [internal function]: AmeliaBookingApplicationControllerController->__invoke(Object(SlimHttpRequest), Object(SlimHttpResponse), Array)
    #10 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func(Array, Object(SlimHttpRequest), Object(SlimHttpResponse), Array)
    #11 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/slim/slim/Slim/Route.php(281): SlimHandlersStrategiesRequestResponse->__invoke(Array, Object(SlimHttpRequest), Object(SlimHttpResponse), Array)
    #12 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): SlimRoute->__invoke(Object(SlimHttpRequest), Object(SlimHttpResponse))
    #13 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/slim/slim/Slim/Route.php(268): SlimRoute->callMiddlewareStack(Object(SlimHttpRequest), Object(SlimHttpResponse))
    #14 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/slim/slim/Slim/App.php(503): SlimRoute->run(Object(SlimHttpRequest), Object(SlimHttpResponse))
    #15 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): SlimApp->__invoke(Object(SlimHttpRequest), Object(SlimHttpResponse))
    #16 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/slim/slim/Slim/App.php(392): SlimApp->callMiddlewareStack(Object(SlimHttpRequest), Object(SlimHttpResponse))
    #17 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/vendor/slim/slim/Slim/App.php(297): SlimApp->process(Object(SlimHttpRequest), Object(SlimHttpResponse))
    #18 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/ameliabooking.php(160): SlimApp->run()
    #19 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-includes/class-wp-hook.php(303): AmeliaBookingPlugin::wpAmeliaApiCall('')
    #20 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #21 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #22 /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-admin/admin-ajax.php(202): do_action('wp_ajax_nopriv_...')
    #23 {main}


  •  1,568
    Uroš replied

    Hello Philip,

    Thank you for reaching out to us.

    That is the documented bug we have with the latest update of the Amelia plugin. Please find the zipped plugin folder with the fix for the issue that you had experienced.

    Apologies for the inconvenience.

    Feel free to contact us if you have any other questions.

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Philip replied

    Okay, but i have installed the newest version of the Plugin. How can I solve the problem?

  • Philip replied
    I have now uploaded the file CustomerApplicationService.php again.
    /data/web/1/000/073/194/301046/htdocs/corona.vitale-apotheke.de/wp-content/plugins/ameliabooking/src/Application/Services/User/CustomerApplicationService.php
    But the error still exists.
  • Philip replied

    I have solved the problem! Thank you!

  •  1,568
    Uroš replied

    Hello Philip,

    Glad to hear that the issue has been resolved.

    Feel free to contact us if you have any other questions.

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables