Title: iframes
Last modified: June 9, 2026

---

# iframes

 *  Resolved [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 weeks, 6 days ago](https://wordpress.org/support/topic/iframes-14/)
 * 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:
 *     ```wp-block-code
       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 7 replies - 1 through 7 (of 7 total)

 *  Plugin Support [jemeeroy](https://wordpress.org/support/users/jemeeroy/)
 * (@jemeeroy)
 * [3 weeks, 6 days ago](https://wordpress.org/support/topic/iframes-14/#post-18933287)
 * Hi [@hupe13](https://wordpress.org/support/users/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](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/iframes-14/#post-18933578)
 * My theme is GeneratePress, but I tested it with Twenty Twenty-Five also. If you
   want to test it:
    - See [https://wordpress.org/plugins/extensions-leaflet-map/#installation](https://wordpress.org/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](https://wordpress.org/plugins/photonic/))
   is not full visible on small screens and the php warning appears also.
 *  Plugin Support [jemeeroy](https://wordpress.org/support/users/jemeeroy/)
 * (@jemeeroy)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/iframes-14/#post-18933947)
 * Hello [@hupe13](https://wordpress.org/support/users/hupe13/)
 * Thank you so much for in details process to create the issue. I am going to produce
   this in my local server and after releasing the fix, I will notify you.
 *  Plugin Support [jemeeroy](https://wordpress.org/support/users/jemeeroy/)
 * (@jemeeroy)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/iframes-14/#post-18933967)
 * Hello [@hupe13](https://wordpress.org/support/users/hupe13/)
 * Are you seeing the error in this preview of leaflet maps : [https://prnt.sc/DRceJE9C2EZL](https://prnt.sc/DRceJE9C2EZL)
 * I got the issue on Photonic Gallery and we are working on it now: [https://prnt.sc/30c12dQXzERA](https://prnt.sc/30c12dQXzERA)
 * I just want to make sure you are talking about this warning message. Please let
   me know. Also for the leaflet maps I still unable to see the error and I followed
   everything as you mentioned.
 * Please share the screenshoot if possible.
 * Thank you so much
 *  Thread Starter [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/iframes-14/#post-18934003)
 * Yes, we are talking about the message you see in the picture with Photonic. You
   can’t see it on the Leaflet frame because it’s at the very top, and you can’t
   see the top part of the frame. And this is the problem.
 * You see the warnings in a logfile if you take care about [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/).
 * Line 252: `$_GET['page']` . The url of the frame is without `page=...`.
 * By the way: Do you know [https://github.com/wordpress/wordpress-coding-standards](https://github.com/wordpress/wordpress-coding-standards)?
 * If you solved this issue and my iframe is not right yet, maybe my code is wrong
   or it’s something else other in your code.
 *  Plugin Support [jemeeroy](https://wordpress.org/support/users/jemeeroy/)
 * (@jemeeroy)
 * [3 weeks, 4 days ago](https://wordpress.org/support/topic/iframes-14/#post-18934441)
 * Hello [@hupe13](https://wordpress.org/support/users/hupe13/)
 * We have released the update and fixed this issues. Yes we are aware of the WordPress
   code standard. Thank you so much for helping us identifying the issue. Please
   update the plugin and let me know if you still face any problem, we will try 
   our best to assist you.
 *  Thread Starter [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 weeks, 4 days ago](https://wordpress.org/support/topic/iframes-14/#post-18934917)
 * Thank you very much, iframes are okay now.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fiframes-14%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/admin-bar/assets/icon.svg?rev=3078226)
 * [Admin Bar Editor - Toolbar Customization with User Role based access & Custom menus](https://wordpress.org/plugins/admin-bar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admin-bar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admin-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-bar/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [hupe13](https://wordpress.org/support/users/hupe13/)
 * Last activity: [3 weeks, 4 days ago](https://wordpress.org/support/topic/iframes-14/#post-18934917)
 * Status: resolved