Support » Plugin: Menu Icons by ThemeIsle » PHP Error when using JSON API

  • Resolved s3mstark

    (@s3mstark)


    Hello,

    I get the following PHP error when trying to access any API Endpoint.

    [16-Apr-2021 20:00:50 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Icon_Picker_Type_Svg::_add_mime_type() must be of the type array, null given, called in /html/wordpress/wp-includes/class-wp-hook.php on line 289 and defined in /html/wordpress/wp-content/plugins/menu-icons/vendor/codeinwp/icon-picker/includes/types/svg.php:69

    I am using this plugin for some years on different sites now, always in combination with the JSON API, but didn’t get this error yet.
    I managed to eliminate the error for now by removing the variable type definiton of array in the mentioned method, but of course thats no good solution in future.

    Btw I am not using the svg option. I have only activated the Image option.

    Thanks for any hint how to manage this.

Viewing 1 replies (of 1 total)
  • Plugin Support AC

    (@purplecodes)

    Themeisle Support

    Hi @s3mstark,

    Can you send us a screencast showing us on how we can replicate this issue?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.