repli2dev
Forum Replies Created
-
Forum: Plugins
In reply to: [MultiSite Clone Duplicator] There has been a critical error on this website.Same problem here, debugged this into the issue with PHP 8.2 + Polylang which causes an error “cannot call translate on null” on line if ( $mo->translate( $old_values ) === $values ) { in polylang.
TLDR: if polylang related try adding
// Disable some Polylang filters to avoid errors during the process
global $wp_filter;foreach ($wp_filter as $hook_name => $hook) {
if (isset($hook->callbacks)) {
foreach ($hook->callbacks as $priority => $callbacks) {
foreach ($callbacks as $callback) {
if (is_array($callback[‘function’]) && isset($callback[‘function’][0]) && $callback[‘function’][0] instanceof PLL_Translate_Option) {
$wp_filter[$hook_name][$priority][] = $callback[‘function’];
remove_filter($hook_name, $callback[‘function’], $priority);
}
}
}
}
}After switch_to_blog(1); in file duplicate.php
We use PNG for the logo. No extra images anywhere.
Switching to JPG has worked, though it is bit blurry.
Also I have tried to reproduce it locally with PHP 7.4.30 and imagick 3.7.0 without much success :-/
@alexmigf sadly the hosting says that 3.4.4 of php-imagick is the most up-to-date version in their system (Debain – see https://packages.debian.org/search?keywords=imagick&searchon=names&suite=stable§ion=all)
Can you please provide workaround?
Sadly i does not, it is an absolute path within the server to our hosting directory.
Status page (of 2.4.15) https://ibb.co/KmT4ZcF
Forum: Plugins
In reply to: [OptionTree] Settings could not be importedI have also ran into the same issue, downgrade helped….
This should be marked as unsolved as the up-to-date version is still 2.7.3.
Forum: Plugins
In reply to: [OptionTree] data attribute gets truncated in script tag while savingCan see similar to this behaviour in 2.7.3 together with option tree polylang plugin (I have found the stripped attributes there).
Forum: Plugins
In reply to: [WooCommerce] WC()->cart is null in custom REST APISame issue, in my case the fix has worked (number of items and total).
Forum: Plugins
In reply to: [Pixel Caffeine] Duplicated Purchase EvnetsThis issues is causing problems to us too it would be nice this to fix soon.
Well, the errors are just not visible…
With “define(‘WP_DEBUG’, true);” I get:– ( ! ) Notice: Undefined variable: url in <path>/wordpress/wp-content/plugins/fma-product-custom-options/admin/class-fme-product-custom-options-admin.php on line 13
– Notice: Funkce wpdb::prepare nebyla pou?ita správnym zp?sobem. P?i pou?ití funkce wpdb::prepare() musí parametr query obsahovat nějaky zástupny znak. Please see Debugging in WordPress for more information. (Tato zpráva se nově zobrazuje od verze 3.9.0.) in <path>wordpress/wp-includes/functions.php on line 3995