Support forumCategory: BugsError After easy appoint install and activation
smart_sme asked 9 months ago

Hi,
 
I have received the following error in the word press logs after I have activated EA 3.7.3
 
[26-Feb-2022 10:04:48 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function tad_DI52_Container::singleton(), 1 passed in /home/raindancestables/public_html/wp-content/plugins/event-tickets/src/Tickets/Commerce/Provider.php on line 52 and at least 2 expected in /home/raindancestables/public_html/wp-content/plugins/easy-appointments/vendor/lucatume/di52/src/tad/DI52/Container.php:732
Stack trace:
#0 /home/raindancestables/public_html/wp-content/plugins/event-tickets/src/Tickets/Commerce/Provider.php(52): tad_DI52_Container->singleton()
#1 /home/raindancestables/public_html/wp-content/plugins/easy-appointments/vendor/lucatume/di52/src/tad/DI52/Container.php(480): TEC\Tickets\Commerce\Provider->register()
#2 /home/raindancestables/public_html/wp-content/plugins/event-tickets/src/Tickets/Provider.php(38): tad_DI52_Container->register()
#3 /home/raindancestables/public_html/wp-content/plugins/easy-appointments/vendor/lucatume/di52/src/tad/DI52/Container.php(480): TEC\Tickets\Provider->register()
#4 /home/raindancestables/public_html/wp-content/plugins/event-tickets/common/src/Tribe/Container.php(288): tad_DI52_Container->register()
#5 /home/raindancestables/public_html/wp-content/plugins/event-tickets/src/Tribe/Main.php(357): tribe_register_provider()
#6 /home/raindancestables/public_html/wp-content/plugins/event-tickets/src/Tribe/Main.php(330): Tribe__Tickets__Main->bind_implementations()
#7 /home/raindancestables/public_html/wp-includes/class-wp-hook.php(307): Tribe__Tickets__Main->bootstrap()
#8 /home/raindancestables/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#9 /home/raindancestables/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()
#10 /home/raindancestables/public_html/wp-content/plugins/event-tickets/common/src/Tribe/Main.php(109): do_action()
#11 /home/raindancestables/public_html/wp-includes/class-wp-hook.php(307): Tribe__Main->plugins_loaded()
#12 /home/raindancestables/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#13 /home/raindancestables/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()
#14 /home/raindancestables/public_html/wp-settings.php(450): do_action()
#15 /home/raindancestables/public_html/wp-config.php(101): require_once(‘/home/raindance…’)
#16 /home/raindancestables/public_html/wp-load.php(50): require_once(‘/home/raindance…’)
#17 /home/raindancestables/public_html/wp-blog-header.php(13): require_once(‘/home/raindance…’)
#18 /home/raindancestables/public_html/index.php(17): require(‘/home/raindance…’)
#19 {main}
thrown in /home/raindancestables/public_html/wp-content/plugins/easy-appointments/vendor/lucatume/di52/src/tad/DI52/Container.php on line 732
 
any idea on this – seems to be clashing with events-ticks plugin – we use both yours and theirs and cant disable either as we need both for different areas of the system

1 Answers
Nikola Loncar Staff answered 9 months ago

Hi, yes event-tickets is having different version of same lib and signature is not the same as on EasyAppointments. I will see how easy would be to solve naming issue.
Best regards,
Nikola