• Hi there…

    Interesting pluging. I’m especially interested in adding location meta data to a custom post type (CPT) – let’s call it Point of Interest (PoI), but failed. When trying to add a new PoI, I get this error:

    H<@https://boho.local/wp-content/plugins/ootb-openstreetmap/build/index.js?ver=db099a0defe87e6560eb:1:183621
    mapSelect@https://boho.local/wp-includes/js/dist/data.js?ver=1756b6a2676c1b3369ab:2352:64
    updateValue/mapResult<@https://boho.local/wp-includes/js/dist/data.js?ver=1756b6a2676c1b3369ab:2277:26
    __unstableMarkListeningStores@https://boho.local/wp-includes/js/dist/data.js?ver=1756b6a2676c1b3369ab:1804:25
    @https://boho.local/wp-includes/js/dist/data.js?ver=1756b6a2676c1b3369ab:1845:36
    updateValue@https://boho.local/wp-includes/js/dist/data.js?ver=1756b6a2676c1b3369ab:2276:36
    @https://boho.local/wp-includes/js/dist/data.js?ver=1756b6a2676c1b3369ab:2311:7
    _useMappingSelect@https://boho.local/wp-includes/js/dist/data.js?ver=1756b6a2676c1b3369ab:2327:54
    useSelect@https://boho.local/wp-includes/js/dist/data.js?ver=1756b6a2676c1b3369ab:2342:61
    @https://boho.local/wp-includes/js/dist/data.js?ver=1756b6a2676c1b3369ab:2353:35
    renderWithHooks@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:15496:29
    mountIndeterminateComponent@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:20113:15
    beginWork@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:21636:18
    beginWork$1@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27475:16
    performUnitOfWork@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26606:14
    workLoopSync@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26515:24
    renderRootSync@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26483:9
    recoverFromConcurrentError@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25899:36
    performSyncWorkOnRoot@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26145:22
    flushSyncCallbacks@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:12052:24
    commitRootImpl@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27008:5
    commitRoot@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26731:21
    finishConcurrentRender@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26030:21
    performConcurrentWorkOnRoot@https://boho.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25858:31
    workLoop@https://boho.local/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2653:44
    flushWork@https://boho.local/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2626:16
    performWorkUntilDeadline@https://boho.local/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2920:23

    This is on a local development machine, but I also tried on an online live installation.

    Both sites run WP 7.0 and PHP 8.3

    Adding a location to a regular Post, works just fine.

    I created my CPT with Pods Framework like I’ve done many times before. I might try ACF as well.

    Is that something you can reproduce? Or du you have any futher tips regarding setting up a CPT that plays well with OOTB?

    Kind regards,
    Bjarne

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Giorgos Sarigiannidis

    (@gsarig)

    Hi, and thaks for the feedback.

    Can you check the latest version of the plugin (2.13.0)? It includes some changes meant to fix this issue. Let me know if it worked for you or not.

    Thread Starter Bjarne Oldrup

    (@oldrup)

    I just gave it a spin on a fresh WordPress playground, taking the following steps:

    1. Installed and activated Pods
    2. In Pods – Create a new Content Type called POI
    3. Checked “Available for Dynamic Features”
    4. Installed and activated : Out of the Block: OpenStreetMap
    5. In OOTB settings; Enabled Location Custom Field for Post Type POI
    6. Added 3 POIs, searching for a location
    7. Added a ‘My POIs’ page
    8. Added OOTB block.

    I don’t get any error on WordPress Playground; so I assume that issue has something with my development site is a WordPress multisite, so far so good.

    However, I get the “Open Street Map by OOTB” to retrieve any posts with locations. I would assume that under the map data setting I could pick a CPT to fetch locations from, but there is no configurable setting present.

    Any ideas how to proceed?

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

You must be logged in to reply to this topic.