• Sorry, but bug is still there…

    Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in robin-image-optimizer/libs/addons/includes/classes/webp/vendor/rosell-dk/dom-util-for-webp/src/ImageUrlReplacer.php:155 Stack trace: #0 robin-image-optimizer/libs/addons/includes/classes/webp/vendor/rosell-dk/dom-util-for-webp/src/ImageUrlReplacer.php(155): implode(Array, ‘,’) #1 robin-image-optimizer/libs/addons/includes/classes/webp/vendor/rosell-dk/dom-util-for-webp/src/ImageUrlReplacer.php(205): DOMUtilForWebP\ImageUrlReplacer->processCSS(‘\nbody{–wp–pre…’) #2 robin-image-optimizer/libs/addons/includes/classes/webp/vendor/rosell-dk/dom-util-for-webp/src/ImageUrlReplacer.php(230): DOMUtilForWebP\ImageUrlReplacer->replaceHtml(‘…’) #3 robin-image-optimizer/libs/addons/includes/classes/webp/class-webp-delivery.php(195): DOMUtilForWebP\ImageUrlReplacer::replace(‘…’) #4 [internal function]: WRIO\WEBP\HTML\Delivery->process_alter_html(‘…’, 9) #5 wp-includes/functions.php(5309): ob_end_flush() #6 wp-includes/class-wp-hook.php(308): wp_ob_end_flush_all(”) #7 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #8 wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 wp-includes/load.php(1144): do_action(‘shutdown’) #10 [internal function]: shutdown_action_hook() #11 {main} thrown in robin-image-optimizer/libs/addons/includes/classes/webp/vendor/rosell-dk/dom-util-for-webp/src/ImageUrlReplacer.php on line 155

    $declarations[$i] = implode($parts, ‘,’); – that’s deprecated, must be something like $declarations[$i] = implode(‘,’, $parts); (https://www.php.net/manual/ru/function.implode.php)

    The page I need help with: [log in to see the link]

  • The topic ‘Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type’ is closed to new replies.