• Resolved lectronixuk

    (@lectronixuk)


    Advanced iFrame Pro problem with WP6.4.2 editor not working

    Steps:

    Create a page

    Insert an AIframe block

    The block shows: This block has encountered an error and cannot be previewed.

    Browser Console shows – Error: Minified React error #130; with a bunch of other errors after it.

    This worked fine before the WP was updated.

    • This topic was modified 11 months, 2 weeks ago by lectronixuk.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author mdempfle

    (@mdempfle)

    Which version of advanced iframe are you using?

    I tested with wp 6.4.2 and advanced iframe <small>2023.10</small> without any issues. Which php version do you use?

    Best regards, Michael

    Thread Starter lectronixuk

    (@lectronixuk)

    wp 6.4.2

    php 7.4

    Adv. iFrame 2023.9

    • This reply was modified 11 months, 2 weeks ago by lectronixuk.
    Plugin Author mdempfle

    (@mdempfle)

    I just uploaded 2023.10 which is fixing a issue with the generation of ai.min.js. Still this should not affect you.

    can you post the errors you get and also the response of the editor where the error is thrown?

    Best Regards, Michael

    Thread Starter lectronixuk

    (@lectronixuk)

    https://drive.google.com/file/d/1AqKs4luXVuwImWA86b1ENjo3tlk0BBi9/view?usp=sharing

    Up graded to 2023.10. Almost the same.

    If I take the AI block out, no error in the console

    Not fixed but cheers for your help so far!

    • This reply was modified 11 months, 2 weeks ago by lectronixuk.
    • This reply was modified 11 months, 2 weeks ago by lectronixuk.
    • This reply was modified 11 months, 2 weeks ago by lectronixuk.
    Plugin Author mdempfle

    (@mdempfle)

    Unfortunately I cannot reproduce this with the same setup like you have.

    Can you share the default shortcode you use? You can get this in the shortcode generator on the basic tab in the administration.

    As workaround you can simply use the normal short code block and enter the ai shortcode there directly.

    Thread Starter lectronixuk

    (@lectronixuk)

    Hi thanks for getting back.

    [advanced_iframe use_shortcode_attributes_only=”true” src=”//www.tinywebgallery.com/blog/advanced-iframe” width=”100%” height=”600″]

    Googling the ‘Error: Minified React error #130;’ error it seems many other wp plugins have had the same problem but none of the suggested fixes worked for yours.

    I’ve also tried troubleshooting mode, debug mode, changed php version to 8, different browser. No debug errors. No change.

    Plugin Author mdempfle

    (@mdempfle)

    O.k. so nothing special.

    Are you able to send me the response of the ajax request the editor is sending? You know how to get it?
    If not let me know to send you a more detailed description.

    Best regards, Michael

    Plugin Author mdempfle

    (@mdempfle)

    Go to the block editor. Then open the Javascript console (F12). Go to the network tab.

    filter for ai.
    there you should see a request. ai-block.
    If you click on this you see the response on the right side.
    Copy this response and add it here.

    Best regards, Michael

    Thread Starter lectronixuk

    (@lectronixuk)

    HTTP/1.1 200 OK
    Date: Thu, 14 Dec 2023 07:21:07 GMT
    Server: Apache
    Last-Modified: Mon, 08 Nov 2021 17:50:06 GMT
    ETag: “a40-5d04a9f8fc4a5-gzip”
    Accept-Ranges: bytes
    Vary: Accept-Encoding
    Content-Encoding: gzip
    Cache-Control: max-age=604800
    Expires: Thu, 21 Dec 2023 07:21:07 GMT
    Content-Length: 999
    Connection: close
    Content-Type: application/javascript

    Thread Starter lectronixuk

    (@lectronixuk)

    Here’s the html from another existing page. Would it work if I just paste it in as html?

    <iframe id="advanced_iframe" name="advanced_iframe" src="/3d-designer/main/shutter.php" width="100%" height="1050" frameborder="0" allowtransparency="true" loading="lazy" style="width: 100%; height: 1050px; max-width: 100%; max-height: 11816px;"></iframe>
    Plugin Author mdempfle

    (@mdempfle)

    Hi, This is the header you posted. I would need what you see on the “Response” tab. Can you please send this?

    You can simply use the normal shortcode block and paste the advanced iframe shortcode there.

    Best regards,

    Michael

    Thread Starter lectronixuk

    (@lectronixuk)

    ok

    No response data available for this request

    Plugin Author mdempfle

    (@mdempfle)

    Can you please contact me directly. You find my e-mail here: https://www.tinywebgallery.com/en/about.php

    • This reply was modified 11 months, 1 week ago by mdempfle.
    Thread Starter lectronixuk

    (@lectronixuk)

    ok

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘This block has encountered an error and cannot be previewed.’ is closed to new replies.