Fatal Error: Uncaught ValueError
-
When I try to visit option page (“Proprietà ” in italian) i get this error:
Fatal error: Uncaught ValueError: Unknown format specifier “I” in /home/digifes1/public_html/wp-content/plugins/event-tickets/src/Tribe/Admin/Settings.php:108 Stack trace: #0 /home/digifes1/public_html/wp-content/plugins/event-tickets/src/Tribe/Admin/Settings.php(108): sprintf(‘% Impostazioni’, ‘Tickets’) #1 /home/digifes1/public_html/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(776): Tribe\Tickets\Admin\Settings->settings_page_title(‘Events Settings’) #2 /home/digifes1/public_html/wp-includes/class-wp-hook.php(326): TEC\Common\lucatume\DI52\Container->TEC\Common\lucatume\DI52\{closure}(‘Events Settings’) #3 /home/digifes1/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘Events Settings’, Array) #4 /home/digifes1/public_html/wp-content/plugins/event-tickets/common/src/Tribe/Settings.php(343): apply_filters(‘tribe_settings_…’, ‘Events Settings’, ‘tec-tickets-set…’) #5 /home/digifes1/public_html/wp-content/plugins/event-tickets/common/src/Tribe/Settings.php(361): Tribe__Settings->get_page_title(‘tec-tickets-set…’) #6 /home/digifes1/public_html/wp-includes/class-wp-hook.php(324): Tribe__Settings->generatePage(”) #7 /home/digifes1/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #8 /home/digifes1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /home/digifes1/public_html/wp-admin/admin.php(259): do_action(‘tickets_page_te…’) #10 {main} thrown in?/home/digifes1/public_html/wp-content/plugins/event-tickets/src/Tribe/Admin/Settings.php?on line?108I think is something related to Loco Translate (I have made some changes to translate some strings in italian). I tryed to rollback to the previous version and it worked, but I lost all italian translation. So I tried to move the .po and .mo files to other destinations (through Loco plugin) and then error came back.
Now I can’t modify any payment option and plugin is useless.
The line 108 in Settings.php is:return sprintf(
// Translators: %1$s is theTickets
in plural.
__( ‘%1$s Settings’, ‘event-tickets’ ),
tribe_get_ticket_label_plural( ‘tec_tickets_settings_title’ )
);
}Please help me T__T
- You must be logged in to reply to this topic.