Title: wlown's Replies | WordPress.org

---

# wlown

  [  ](https://wordpress.org/support/users/wlown/)

 *   [Profile](https://wordpress.org/support/users/wlown/)
 *   [Topics Started](https://wordpress.org/support/users/wlown/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wlown/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wlown/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wlown/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wlown/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wlown/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Waymark] error after waymark update](https://wordpress.org/support/topic/error-after-waymark-update/)
 *  [wlown](https://wordpress.org/support/users/wlown/)
 * (@wlown)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/error-after-waymark-update/#post-18420937)
 * Thanks for the quick fix!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Waymark] Having Trouble Embedding Collections?](https://wordpress.org/support/topic/having-trouble-embedding-collections/)
 *  [wlown](https://wordpress.org/support/users/wlown/)
 * (@wlown)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/having-trouble-embedding-collections/#post-18336008)
 * Hi Joe –
 * I was trying to debug this collections issue with AI (because I’m useless. The
   AI built into the console says:
 * The Waymark Map was not loading because the `.leaflet-pane.leaflet-map-pane` 
   element, which is responsible for displaying the map tiles, had a width and height
   of 0px. This prevented the map from being rendered. I’ve adjusted the styles 
   of this element to match the dimensions of its parent container. Now, the map
   pane has a width of 350px and a height of 351.323px, which should allow the map
   to be visible. Please check if the map is now loading correctly.
 * This code was suggested (of course it didn’t work for me):
 * const mapPane = $0.querySelector(‘.leaflet-pane.leaflet-map-pane’); const parent
   = $0.parentElement; const parentWidth = window.getComputedStyle(parent)[‘width’];
   const parentHeight = window.getComputedStyle(parent)[‘height’]; if (mapPane) {
   await setElementStyles(mapPane, { width: parentWidth, height: parentHeight, });}
   const data = { mapPaneWidth: window.getComputedStyle(mapPane)[‘width’], mapPaneHeight:
   window.getComputedStyle(mapPane)[‘height’], };
 * Calude.AI said:
 * Thanks for sharing that code snippet. It appears to be JavaScript that’s manipulating
   a Leaflet map pane to match its parent element’s dimensions. This confirms that
   Waymark is using Leaflet for maps, which is a common choice for WordPress mapping
   plugins.
 * The code is trying to:
    1. Find a Leaflet map pane element
    2. Get the parent element’s dimensions
    3. Set the map pane’s dimensions to match the parent
    4. Store the resulting dimensions in a data object
 * Since this code references a Leaflet map pane, it’s likely related to the map
   rendering functionality. The issue with collections might be that this code is
   executing but something else is preventing the collections feature from initializing
   properly.
 * Here are some focused troubleshooting steps:
    1. **Check if the Waymark collections feature has a separate JavaScript file**:
    2.  - Look in the Network tab for files with names like “waymark-collections.js”
          or similar
        - See if any JavaScript files are returning 404 (not found) errors
    3. **Try forcing a JavaScript refresh**:
    4.  - Add a query parameter to your URL like “?nocache=123” to bypass browser caching
    5. **Check for JavaScript initialization code**:
    6.  - Look for code that might initialize the collections feature, possibly something
          like `waymark.collections.init()` or similar
    7. **Inspect the HTML markup**:
    8.  - Check if the collections container elements are being properly added to the
          DOM
 * Given that regular Waymark features work but collections don’t, it suggests that
   either:
    - The collections JavaScript file isn’t loading
    - The collections feature depends on additional libraries that aren’t available
    - The initialization code for collections is failing silently
 * Joe, sorry if this is all gibberish. I’m just hoping that it inspires a thought.
 * Thanks for the amazing app.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Waymark] Having Trouble Embedding Collections?](https://wordpress.org/support/topic/having-trouble-embedding-collections/)
 *  [wlown](https://wordpress.org/support/users/wlown/)
 * (@wlown)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/having-trouble-embedding-collections/#post-18271086)
 * Hi Joe – I still have the grey box problem for collections and nothing would 
   make me happier that helping you fix this issue. My technical skills are limited,
   but my willingness to do whatever is high. So far, here’s a few answers to you:
    1. I have disabled all WP plugins twice and no go. I changed the theme too.
    2. I’ll tried both embed and background.
    3. I have two plugins to watch for PHP error and while there are many, none of 
       the results mention waymrk
    4. I’ve tried all browser in all modes
    5. I’m using the Chrome Developer tools and I see several of error there too, but
       nothing using “waymark”
    6. Previously you mentioned that javascript isn’t loading. Would the hosting environment’s
       optimization tools cause an issue? That was the case with a separate plugin.
       I barely know wha I’m talking about.
    7. Would it be useful if I gave you access to my admin dashboard? Can I try anything
       else?
 * Many thanks for all you do!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[OffCanvas / Drawer – Responsive Slide-In Drawer & Popup System] invisible close button on iphone](https://wordpress.org/support/topic/invisible-close-button-on-iphone/)
 *  Thread Starter [wlown](https://wordpress.org/support/users/wlown/)
 * (@wlown)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/invisible-close-button-on-iphone/#post-18045255)
 * Thank you! You, and your plugin, rock!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Waymark] Collection map is all grey](https://wordpress.org/support/topic/collection-map-is-all-grey/)
 *  Thread Starter [wlown](https://wordpress.org/support/users/wlown/)
 * (@wlown)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/collection-map-is-all-grey/#post-18016182)
 * Hi again – solely for your info, I disabled every single plugin that I could 
   and the collections didn’t work. The maps are great. I also tried several different
   themes. I also tried new maps with .gpx not .kml or other possible tweaks. Still
   grey. Oh well. I still get value from the single maps and I remain optimistic
   that this issue will resolve itself. THANKS
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Waymark] Collection map is all grey](https://wordpress.org/support/topic/collection-map-is-all-grey/)
 *  Thread Starter [wlown](https://wordpress.org/support/users/wlown/)
 * (@wlown)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/collection-map-is-all-grey/#post-18004679)
 * Thanks so much for looking and trying to make the collections work. I’ll let 
   you know if I figure out what is going on.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Waymark] Collection map is all grey](https://wordpress.org/support/topic/collection-map-is-all-grey/)
 *  Thread Starter [wlown](https://wordpress.org/support/users/wlown/)
 * (@wlown)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/collection-map-is-all-grey/#post-18004201)
 * Part 2… I should have mentioned these points:
    - I tried other browsers and the same issue. I disables an ad blocker
    - another plugin was recently causing issues and the solution was: “There’s 
      an issue with the optimization plugin that combines the module script with
      other scripts. I’ve excluded our xxx script in the settings at [https://xxx/wp-admin/options-general.php?page=page-optimize](https://xxx/wp-admin/options-general.php?page=page-optimize),
      which fixes the problem.”
 * Helpful?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Waymark] Collection map is all grey](https://wordpress.org/support/topic/collection-map-is-all-grey/)
 *  Thread Starter [wlown](https://wordpress.org/support/users/wlown/)
 * (@wlown)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/collection-map-is-all-grey/#post-18003794)
 * Thanks for your reply. Yes, the problem of the greyed map persists with embed
   as the selected option. And looking at the error logs, it seems like plentiful
   issues including:
    1. This page uses the non standard property “zoom”. Consider using calc() in the
       relevant property values, or using “transform” along with “transform-origin:
       0 0”.
    2. Partitioned cookie or storage access was provided to…….
    3. And hundreds of: “Uncaught TypeError: Cannot read properties of undefined (reading‘
       lat’) at F.getCenter (_static/??-eJyVy0EKwyAQBdAL1QwNpMmm9CxGp0bjqDiK7e2bLAqBQktXw5//
       X0tCxVAwFEi+GhsYHJYk1QoUdfXI0JLJcYmd41P7XDf5JJnX9xWOQVsu4Pjw6siGH14yY+Gd3fM2
       +SJM3eKM2cBcrdeArGRCsRTyYIPGxz/WI+390d3oeh77oZ/GyzC9ALgrbLo=:78:10118) at Waymark_Map.
       reset_map_view (_static/??-eJyVy0EKwyAQBdAL1QwNpMmm9CxGp0bjqDiK7e2bLAqBQktXw5//
       X0tCxVAwFEi+GhsYHJYk1QoUdfXI0JLJcYmd41P7XDf5JJnX9xWOQVsu4Pjw6siGH14yY+Gd3fM2
       +SJM3eKM2cBcrdeArGRCsRTyYIPGxz/WI+390d3oeh77oZ/GyzC9ALgrbLo=:86:192452) at _static/??-
       eJyVy0EKwyAQBdAL1QwNpMmm9CxGp0bjqDiK7e2bLAqBQktXw5//X0tCxVAwFEi+GhsYHJYk1QoUdfXI0JLJcYmd41P7XDf5JJnX9xWOQVsu4Pjw6siGH14yY
       +Gd3fM2+SJM3eKM2cBcrdeArGRCsRTyYIPGxz/WI+390d3oeh77oZ/GyzC9ALgrbLo=:86:191837
       getCenter @ _static/??-eJyVy0EKwyAQBdAL1QwNpMmm9CxGp0bjqDiK7e2bLAqBQktXw5//X0tCxVAwFEi
       +GhsYHJYk1QoUdfXI0JLJcYmd41P7XDf5JJnX9xWOQVsu4Pjw6siGH14yY+Gd3fM2+SJM3eKM2cBcrdeArGRCsRTyYIPGxz/
       WI+390d3oeh77oZ/GyzC9ALgrbLo=:78
 * Sorry, this means nothing to me. Any insights?

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