Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Phi Phan

    (@mr2p)

    Hi @jlop77,

    Thank you for reporting it. One question: Does it work if you disable the SVG upload module in the ASE and use only the SVG block?

    Phi.

    Thread Starter jlop77

    (@jlop77)

    Yes. Obviously I have to install “svg support” plugin, to be able to upload svg.

    • This reply was modified 5 months, 1 week ago by jlop77.
    Plugin Author Phi Phan

    (@mr2p)

    @jlop77 Most of the plugins that support uploading SVG follows similar approach. You should use only one to do the job. There is a filter that allows you to disable the SVG upload feature in the SVG block plugin. Here is the code:

    add_filter( 'boldblocks_svg_block_allow_upload_svg_image', '__return_false' );

    You can add it to your site to disable it or disable the upload feature on other plugins.

    Best, Phi.

    Bowo

    (@qriouslad)

    @mr2p hi, author of ASE here. After test installing SVG Block, I received an error notification email with the following message:

    An error of type E_ERROR was caused in line 9 of the file /home/user/apps/sitename/plugins/admin-site-enhancements/vendor/enshrined/svg-sanitize/src/data/AttributeInterface.php. Error message: Cannot declare interface enshrined\svgSanitize\data\AttributeInterface, because the name is already in use

    Note that in ASE, the Sanitizer class is not auto-loaded and instead being manually included in /classes/class-svg-upload.php:92.

    • This reply was modified 5 months, 1 week ago by Bowo.
    Bowo

    (@qriouslad)

    @mr2p just saw your latest reply as I posted mine. Will check for SVG Block activation status / if ‘Sanitizer’ class already exists or not before loading the class in ASE. Please consider this issue resolved. @jlop77 this should fix the upload issue, and I’ll include the fix in the next release, v7.1.1 on Monday. Thanks everyone.

    • This reply was modified 5 months, 1 week ago by Bowo.
    Plugin Author Phi Phan

    (@mr2p)

    @qriouslad Thank you for the details and the quick solution.

    Bowo

    (@qriouslad)

    @mr2p likewise, thank you for the quick and on-point replies. I’m a Pro user for the Meta Fields Block plugin. Keep up the great work!

    Plugin Author Phi Phan

    (@mr2p)

    @qriouslad Thank you so much for your kind words and your support.

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