10up / safe-svg

Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.
https://wordpress.org/plugins/safe-svg/
GNU General Public License v2.0
263 stars 31 forks source link

SafeSVG fatal error #195

Closed liz1kiweno closed 4 months ago

liz1kiweno commented 4 months ago

Describe the bug

Hi there,

when I try to create a new banner with affiliates pro, I get a note aboute a fatal error according to safesvg: Fatal error: Uncaught Error: Too few arguments to function SafeSvg\safe_svg::featured_image_fix(), 2 passed in /home/839664.cloudwaysapps.com/fbvzkkasdm/public_html/wp-includes/class-wp-hook.php on line 308 and exactly 3 expected

Can somebody help me with that?

Steps to Reproduce

On wordpress dashboard affiliates pro, click on banner, click on create new banner, note appears and it's not possible to create a banner

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

WordPress-Version 6.1.1 Aktives Theme: Kiweno Child (Version 0.1.0) Aktuelles Plugin: Safe SVG (Version 2.2.2) PHP-Version 8.0.30

Code of Conduct