• I have some problems with iframes in backend. My plugin and an other one use TB_iframes. It works, but the location of the iframe is not okay if “Admin Bar Editor” is active. When I open an iframe, there is a php warning:

    PHP Warning:  Undefined array key "page" in /path/to/wp-content/plugins/admin-bar/Inc/Classes/AdminBarEditorAssets.php on line 252

    The url of both is https://mydomain.tld/wp-admin/admin.php?action=...&....

    At first, I thought I had made a mistake in my plugin code. I fixed some things, but it still isn’t working right. And iframe of the other plugin isn’t okay also.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support jemeeroy

    (@jemeeroy)

    Hi @hupe13

    Thank you so much for getting in touch.

    Can you please let me know which theme you have activated in your webiste and your active theme name please. I will create a similar environment in my local server and debug the issue.

    Thank you

    Thread Starter hupe13

    (@hupe13)

    My theme is GeneratePress, but I tested it with Twenty Twenty-Five also. If you want to test it:

    • See https://ww.wp.xz.cn/plugins/extensions-leaflet-map/#installation
    • Go to Settings – Leaflet Map – Extensions for Leaflet Map — Manage Leaflet Map files
    • Allow upload of gpx (or other) files to media library — Save
    • Upload a gpx file to Media Library
    • List Files — Show all files — Press List files
    • Click on Preview – the iframe appears

    If Admin Bar Editor isn’t active, the iframe appears right, if it is active, the iframe is on top of screen and some information is not visible.

    The iframe of the other plugin (Photonic) is not full visible on small screens and the php warning appears also.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.