As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #3054908
Critical Error
Closed

Comments

  • Karl Gilmore started the conversation

    Hi Support,


    I am experiencing a critical error on the bookings page

    https://clanrye.onyx-sites.io/book-activities/


    This has happened after I added new times to a service via employee.


  • Karl Gilmore replied

    I attach error text file.


    <b>Fatal error</b>:  Uncaught AmeliaBooking\Domain\Common\Exceptions\InvalidArgumentException: Invalid key 1. in /var/www/html/wp-content/plugins/ameliabooking/src/Domain/Collection/AbstractCollection.php:88
    Stack trace:
    #0 /var/www/html/wp-content/plugins/ameliabooking/src/Application/Services/User/ProviderApplicationService.php(1243): AmeliaBooking\Domain\Collection\AbstractCollection->getItem(1)
    #1 /var/www/html/wp-content/plugins/ameliabooking/src/Application/Services/Stash/StashApplicationService.php(381): AmeliaBooking\Application\Services\User\ProviderApplicationService->getProviderServiceLocations(Object(AmeliaBooking\Domain\Entity\User\Provider), Object(AmeliaBooking\Domain\Collection\Collection), Object(AmeliaBooking\Domain\Collection\Collection))
    #2 /var/www/html/wp-content/plugins/ameliabooking/src/Infrastructure/WP/ShortcodeService/AmeliaShortcodeService.php(161): AmeliaBooking\Application\Services\Stash\StashApplicationService->getStash()
    #3 /var/www/html/wp-content/plugins/ameliabooking/src/Infrastructure/WP/ShortcodeService/CatalogShortcodeService.php(40): AmeliaBooking\Infrastructure\WP\ShortcodeService\AmeliaShortcodeService::prepareScriptsAndStyles()
    #4 /var/www/html/wp-includes/shortcodes.php(356): AmeliaBooking\Infrastructure\WP\ShortcodeService\CatalogShortcodeService::shortcodeHandler(Array, '', 'ameliacatalog')
    #5 [internal function]: do_shortcode_tag(Array)
    #6 /var/www/html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(amelia...', 'do_shortcode_ta...', '\n\n[ameliacatalo...')
    #7 /var/www/html/wp-content/themes/flatsome/inc/shortcodes/ux_text.php(47): do_shortcode('\n\n[ameliacatalo...')
    #8 /var/www/html/wp-includes/shortcodes.php(356): flatsome_render_ux_text_shortcode(Array, '\n\n[ameliacatalo...', 'ux_text')
    #9 [internal function]: do_shortcode_tag(Array)
    #10 /var/www/html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(amelia...', 'do_shortcode_ta...', '\n\n[ux_text font...')
    #11 /var/www/html/wp-content/themes/flatsome/inc/shortcodes/row.php(216): do_shortcode('\n\n[ux_text font...')
    #12 /var/www/html/wp-includes/shortcodes.php(356): ux_col(Array, '\n\n[ux_text font...', 'col')
    #13 [internal function]: do_shortcode_tag(Array)
    #14 /var/www/html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(amelia...', 'do_shortcode_ta...', '\n\n[col span__sm...')
    #15 /var/www/html/wp-content/themes/flatsome/inc/shortcodes/row.php(79): do_shortcode('\n\n[col span__sm...')
    #16 /var/www/html/wp-includes/shortcodes.php(356): ux_row(Array, '\n\n[col span__sm...', 'row')
    #17 [internal function]: do_shortcode_tag(Array)
    #18 /var/www/html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(amelia...', 'do_shortcode_ta...', '\t<section class...')
    #19 /var/www/html/wp-content/themes/flatsome/inc/shortcodes/sections.php(237): do_shortcode('\t<section class...')
    #20 /var/www/html/wp-includes/shortcodes.php(356): ux_section(Array, '\t<section class...', 'section')
    #21 [internal function]: do_shortcode_tag(Array)
    #22 /var/www/html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(amelia...', 'do_shortcode_ta...', '\n[section label...')
    #23 /var/www/html/wp-includes/class-wp-hook.php(307): do_shortcode('\n[section label...')
    #24 /var/www/html/wp-includes/plugin.php(191): WP_Hook->apply_filters('\n[section label...', Array)
    #25 /var/www/html/wp-includes/post-template.php(253): apply_filters('the_content', '<!-- wp:flatsom...')
    #26 /var/www/html/wp-content/themes/flatsome/page-blank.php(13): the_content()
    #27 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...')
    #28 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...')
    #29 /var/www/html/index.php(17): require('/var/www/html/w...')
    #30 {main}
      thrown in <b>/var/www/html/wp-content/plugins/ameliabooking/src/Domain/Collection/AbstractCollection.php</b> on line <b>88</b><br />

  •  1,896
    Miloš replied


    Hi, Karl 

    Thanks for reaching out to us

    9932487403.png

    I can't see any errors right now on the page you have sent?

    Can you confirm that you still have the issues on the page?

    -

    Perhaps it was a caching issue. Whenever you make a significant change in Amelia, make sure to purge all cache on site, to avoid issues.

    Looking forward to your reply.

    Kind Regards, 

    Miloš Jovanović
    [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