Vai al contenuto Vai alla barra laterale

Questo thread è stato risolto. Ecco una descrizione del problema e della soluzione.

Problema:
Il sito web genera un errore critico del tipo

Uncaught ValueError: Missing format specifier at end of string in /wp-content/plugins/woocommerce/includes/class-wc-post-types.php:234 
Stack trace: 
#0 /wp-content/plugins/woocommerce/includes/class-wc-post-types.php(234): sprintf('Alle %', 'Anticipo') 
#1 //wp-includes/class-wp-hook.php(324): WC_Post_Types::register_taxonomies('') 
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 
#3 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 
#4 /wp-settings.php(695): do_action('init') 
#5 /wp-config.php(118): require_once('/home/cecchet1/...') 
#6 /wp-load.php(50): require_once('/home/cecchet1/...') 
#7 /wp-blog-header.php(13): require_once('/home/cecchet1/...') 
#8 /index.php(17): require('/home/cecchet1/...') 
#9 {main} thrown in /wp-content/plugins/woocommerce/includes/class-wc-post-types.php on line 234

quando WPML viene attivato dopo l'aggiornamento del plugin String Translation.
Soluzione:
Il problema è noto e si verifica a causa di un bug nel nostro plugin. Stiamo attualmente lavorando per risolverlo. Per ulteriori dettagli e aggiornamenti, ti consigliamo di consultare la nostra pagina degli errori noti qui.

Se questa soluzione non risolve il problema o se le informazioni sembrano non essere aggiornate, ti invitiamo a aprire un nuovo ticket di supporto. Ti consigliamo inoltre di verificare sempre che tu abbia installato le versioni più recenti dei temi e dei plugin e di consultare la pagina dei problemi noti qui.

Questo è il forum di assistenza tecnica di WPML, il plug-in multilingue di WordPress.

La sua lettura è permessa a tutti, ma la pubblicazione è riservata esclusivamente ai clienti di WPML. Il team di WPML risponde sul forum 6 giorni su 7, 22 ore su 24.

Etichettato: 

Questo ticket contiene 9 risposte, ha 2 voci.

Ultimo aggiornamento da Laura 1 anno, 2 mese fa.

Assistito da: Laura.

Autore Post
Maggio 15, 2024 alle 7:49 am #15628095

strategie3

Il sito web ha generato un errore critico. Disattivando tutti i plugin e riattivandoli man mano, ad uno ad uno, ho notato che l'errore è generato da WPML, che nel momento in cui viene attivitato genera l'errore critico.

Come risolvere?

Maggio 15, 2024 alle 8:40 am #15628456

Laura
Sostenitore di WPML dal 05/2018

Lingue: Inglese (English ) Italiano (Italiano )

Fuso orario: Europe/Rome (GMT+02:00)

Salve,

grazie per averci contattato.

Senza sapere qual è l'errore critico è impossibile fornire una soluzione. Abilita il debug.log di WordPress, riproduci l'errore e riportalo qui.

Maggio 15, 2024 alle 9:44 am #15628968

strategie3

Deprecated: Return type of Customweb_Core_Reflection_Class::getInterfaces() should either be compatible with ReflectionClass::getInterfaces(): array, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/Reflection/Class.php on line 108

Deprecated: Return type of Customweb_Core_Reflection_Class::getParentClass() should either be compatible with ReflectionClass::getParentClass(): ReflectionClass|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/Reflection/Class.php on line 121

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedMethod::getDeclaringClass() should either be compatible with ReflectionMethod::getDeclaringClass(): ReflectionClass, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedMethod.php on line 40

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedProperty::getDeclaringClass() should either be compatible with ReflectionProperty::getDeclaringClass(): ReflectionClass, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedProperty.php on line 40

Deprecated: Return type of Customweb_Core_String::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 640

Deprecated: Return type of Customweb_Core_String::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 644

Deprecated: Return type of Customweb_Core_String::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 648

Deprecated: Return type of Customweb_Core_String::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 652

Deprecated: Return type of Customweb_Core_String::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 656

Deprecated: Return type of Customweb_Core_String::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 660

Deprecated: Return type of Customweb_Core_String::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 664

Deprecated: Return type of Customweb_Core_String::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 668

Deprecated: Return type of Customweb_Core_String::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 672

Deprecated: Return type of Customweb_Core_String::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 676

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getConstructor() should either be compatible with ReflectionClass::getConstructor(): ?ReflectionMethod, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 35

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getMethod($name) should either be compatible with ReflectionClass::getMethod(string $name): ReflectionMethod, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 59

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getMethods($filter = -1) should either be compatible with ReflectionClass::getMethods(?int $filter = null): array, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 63

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getProperty($name) should either be compatible with ReflectionClass::getProperty(string $name): ReflectionProperty, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 73

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getProperties($filter = -1) should either be compatible with ReflectionClass::getProperties(?int $filter = null): array, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 77

Deprecated: Return type of Customweb_Core_DateTimeAbstract::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 81

Deprecated: Return type of Customweb_Core_DateTimeAbstract::format($format) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 113

Deprecated: Return type of Customweb_Core_DateTimeAbstract::modify($modify) should either be compatible with DateTime::modify(string $modifier): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 117

Deprecated: Return type of Customweb_Core_DateTimeAbstract::add($interval) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 121

Deprecated: Return type of Customweb_Core_DateTimeAbstract::sub($interval) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 125

Deprecated: Return type of Customweb_Core_DateTimeAbstract::getTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 129

Deprecated: Return type of Customweb_Core_DateTimeAbstract::setTimezone($timezone) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 133

Deprecated: Return type of Customweb_Core_DateTimeAbstract::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 137

Deprecated: Return type of Customweb_Core_DateTimeAbstract::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 141

Deprecated: Return type of Customweb_Core_DateTimeAbstract::setISODate($year, $week, $day = null) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 145

Deprecated: Return type of Customweb_Core_DateTimeAbstract::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 154

Deprecated: Return type of Customweb_Core_DateTimeAbstract::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 160

Deprecated: Return type of Customweb_Core_DateTimeAbstract::diff($datetime2, $absolute = null) should either be compatible with DateTime::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 224

Deprecated: Return type of Customweb_Core_DateTime::setTime($hour, $minute, $second = null, $microseconds = null) should either be compatible with DateTime::setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 253

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7288

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 2187

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-admin/includes/misc.php on line 1439

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/functions.php on line 7096

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1435

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1438

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1435

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1438

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1435

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1438

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1435

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1438

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1435

Warning: Cannot modify header information - headers already sent by (output started at /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php:42) in /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/pluggable.php on line 1438

Maggio 15, 2024 alle 10:27 am #15629446

Laura
Sostenitore di WPML dal 05/2018

Lingue: Inglese (English ) Italiano (Italiano )

Fuso orario: Europe/Rome (GMT+02:00)

Ma hai attivato WPML per generare l'errore critico? Niente di quanto riportato lo è, e comunque non c'è nulla di riconducibile a WPML.

Maggio 15, 2024 alle 10:48 am #15629669

strategie3

Sì, l'errore critico avviene quando attivo WPML.
Adesso che è disattivato, il sito si vede: link nascosto

Maggio 15, 2024 alle 10:58 am #15629680

Laura
Sostenitore di WPML dal 05/2018

Lingue: Inglese (English ) Italiano (Italiano )

Fuso orario: Europe/Rome (GMT+02:00)

Ho capito, ma se il debug di WordPress è stato attivato dopo aver disattivato WPML non può registrare l'errore.

Attivalo, verifica che ci sia l'errore, poi lo disattivi di nuovo e controlli se nel log è comparso un errore critico.

Maggio 15, 2024 alle 12:12 pm #15630321

strategie3

Ecco, mi pare che nelle ultime righe ci sia il fatal error.

Deprecated: Return type of Customweb_Core_Reflection_Class::getInterfaces() should either be compatible with ReflectionClass::getInterfaces(): array, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/Reflection/Class.php on line 108

Deprecated: Return type of Customweb_Core_Reflection_Class::getParentClass() should either be compatible with ReflectionClass::getParentClass(): ReflectionClass|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/Reflection/Class.php on line 121

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedMethod::getDeclaringClass() should either be compatible with ReflectionMethod::getDeclaringClass(): ReflectionClass, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedMethod.php on line 40

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedProperty::getDeclaringClass() should either be compatible with ReflectionProperty::getDeclaringClass(): ReflectionClass, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedProperty.php on line 40

Deprecated: Return type of Customweb_Core_String::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 640

Deprecated: Return type of Customweb_Core_String::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 644

Deprecated: Return type of Customweb_Core_String::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 648

Deprecated: Return type of Customweb_Core_String::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 652

Deprecated: Return type of Customweb_Core_String::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 656

Deprecated: Return type of Customweb_Core_String::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 660

Deprecated: Return type of Customweb_Core_String::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 664

Deprecated: Return type of Customweb_Core_String::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 668

Deprecated: Return type of Customweb_Core_String::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 672

Deprecated: Return type of Customweb_Core_String::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/String.php on line 676

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getConstructor() should either be compatible with ReflectionClass::getConstructor(): ?ReflectionMethod, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 35

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getMethod($name) should either be compatible with ReflectionClass::getMethod(string $name): ReflectionMethod, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 59

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getMethods($filter = -1) should either be compatible with ReflectionClass::getMethods(?int $filter = null): array, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 63

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getProperty($name) should either be compatible with ReflectionClass::getProperty(string $name): ReflectionProperty, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 73

Deprecated: Return type of Customweb_Annotation_ReflectionAnnotatedClass::getProperties($filter = -1) should either be compatible with ReflectionClass::getProperties(?int $filter = null): array, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Annotation/ReflectionAnnotatedClass.php on line 77

Deprecated: Return type of Customweb_Core_DateTimeAbstract::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 81

Deprecated: Return type of Customweb_Core_DateTimeAbstract::format($format) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 113

Deprecated: Return type of Customweb_Core_DateTimeAbstract::modify($modify) should either be compatible with DateTime::modify(string $modifier): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 117

Deprecated: Return type of Customweb_Core_DateTimeAbstract::add($interval) should either be compatible with DateTime::add(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 121

Deprecated: Return type of Customweb_Core_DateTimeAbstract::sub($interval) should either be compatible with DateTime::sub(DateInterval $interval): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 125

Deprecated: Return type of Customweb_Core_DateTimeAbstract::getTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 129

Deprecated: Return type of Customweb_Core_DateTimeAbstract::setTimezone($timezone) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 133

Deprecated: Return type of Customweb_Core_DateTimeAbstract::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 137

Deprecated: Return type of Customweb_Core_DateTimeAbstract::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 141

Deprecated: Return type of Customweb_Core_DateTimeAbstract::setISODate($year, $week, $day = null) should either be compatible with DateTime::setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 145

Deprecated: Return type of Customweb_Core_DateTimeAbstract::setTimestamp($unixtimestamp) should either be compatible with DateTime::setTimestamp(int $timestamp): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 154

Deprecated: Return type of Customweb_Core_DateTimeAbstract::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 160

Deprecated: Return type of Customweb_Core_DateTimeAbstract::diff($datetime2, $absolute = null) should either be compatible with DateTime::diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 224

Deprecated: Return type of Customweb_Core_DateTime::setTime($hour, $minute, $second = null, $microseconds = null) should either be compatible with DateTime::setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/saferpay/lib/Customweb/Core/DateTime.php on line 253

Fatal error: Uncaught ValueError: Missing format specifier at end of string in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/woocommerce/includes/class-wc-post-types.php:234 Stack trace: #0 /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/woocommerce/includes/class-wc-post-types.php(234): sprintf('Alle %', 'Anticipo') #1 /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/class-wp-hook.php(324): WC_Post_Types::register_taxonomies('') #2 /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 /home/cecchet1/www/test.coffee-excellence.ch/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home/cecchet1/www/test.coffee-excellence.ch/wp-settings.php(695): do_action('init') #5 /home/cecchet1/www/test.coffee-excellence.ch/wp-config.php(118): require_once('/home/cecchet1/...') #6 /home/cecchet1/www/test.coffee-excellence.ch/wp-load.php(50): require_once('/home/cecchet1/...') #7 /home/cecchet1/www/test.coffee-excellence.ch/wp-blog-header.php(13): require_once('/home/cecchet1/...') #8 /home/cecchet1/www/test.coffee-excellence.ch/index.php(17): require('/home/cecchet1/...') #9 {main} thrown in /home/cecchet1/www/test.coffee-excellence.ch/wp-content/plugins/woocommerce/includes/class-wc-post-types.php on line 234

Maggio 15, 2024 alle 2:01 pm #15630879

Laura
Sostenitore di WPML dal 05/2018

Lingue: Inglese (English ) Italiano (Italiano )

Fuso orario: Europe/Rome (GMT+02:00)

Non è un problema di WPML ma di WooCommerce. Si tratta dello stesso problema descritto qui.

Maggio 15, 2024 alle 2:10 pm #15630958

strategie3

È molto strano, perché quell'errore era stato risolto allora. Oppure è possibile che la stringa si modifichi autonomamente? O ricompaia per qualche motivo?

Maggio 15, 2024 alle 2:20 pm #15631057

Laura
Sostenitore di WPML dal 05/2018

Lingue: Inglese (English ) Italiano (Italiano )

Fuso orario: Europe/Rome (GMT+02:00)

Il problema si è ripresentato perché hai aggiornato String Translation.

Ho visto che in realtà il problema è dal nostro lato, ci stiamo lavorando. Vedi qui.