• Dear Camille,
    thank you for your work!
    I just want to let you know that there seems to be a conflict between this plugin and “Page Builder by SiteOrigin”. When I add the [travelers-map] shortcode to a page with the Page Builder active, save it and open it again, the Editing Screen doesn’t work anymore. The page builder doesn’t load and things like change permalink and add featured images don’t work. The frontend version of the page is blank.
    Pages without the Shortcode load and show fine, but removing the shortcode from a page does not seem to help make it working again.
    I tested with the latest version of WordPress.
    Kind regards, Petra

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Camille V

    (@socrapop)

    Dear Petra,

    Thank you for the conflict report, I tried on a testing environment.

    You are right, this page builder doesn’t like my shortcode :/

    It seems other plugins are facing the same problem with this page builder, I checked their support forum. The support team always answer to set WP_DEBUG and check php logs. I did that and discovered the page is loading a very big request (probably an infinite loop) and it’s causing a fatal error.

    [27-Feb-2021 15:28:01 UTC] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 262144 bytes) in ...\wp-includes\class-wp-query.php on line 3448
    [27-Feb-2021 15:28:01 UTC] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 73728 bytes) in ...\wp-includes\functions.php on line 4755
    [27-Feb-2021 15:28:01 UTC] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 73728 bytes) in Unknown on line 0

    I tried a lot of things, the shortcode is working everywhere else (on the widget area, on a normal page). I also tried different “SiteOrigin Widgets” (HTML, Text, Rich editor), every single one of them are causing an error.

    Travelers’ Map is using WordPress Core functions to save and fetch everything, so there shoudn’t be any compatibility problem with other plugins :/

    Sorry to answer I can’t do anything, I will add this plugin in the “Known issues” of Travelers’ Map.

    Have a nice day,
    Camille

    • This reply was modified 3 years, 9 months ago by Camille V.
    Thread Starter fraubaumann

    (@fraubaumann)

    Thank you so much for looking into this!

    Thread Starter fraubaumann

    (@fraubaumann)

    Dear Camille,
    I have some further feedback from the developers at SiteOrigin and post it here in case you want to make use of it. In a new update, their plugin will contain a fix to resolve the infinite loops, but it wont
    “play well with how Travellers Map stores configuration data. It creates a unique instance for each instance of its settings then and that’s problematic because anything that triggers the_excerpt will result in a new hash being generated. Ideally, they should apply the configuration directly to the container (this is what we do for the SiteOrigin Google Map widget) rather than using specific instances using hashing – there can be only one container per map after all.”

    Kind regards and thank you for all your work,
    Petra

    Hi,

    I’m Alex from SiteOrigin. I just want to correct something I said:

    that’s problematic because anything that triggers the_excerpt will result in a new hash being generated.

    I actually meant:

    that’s problematic because anything that triggers the_excerpt could result in a new hash being generated.

    Here’s a link to what we do in the SiteOrigin Google Maps widget.

    The fix we came up with will prevent the infinite loop, but it won’t, or rather can’t, avoid generating a new hash and that’ll result in the map JS not being able to detect the configuration settings.

    Kind regards,
    Alex

    Thread Starter fraubaumann

    (@fraubaumann)

    Hi Alex,
    thank you for following up on this!
    Petra

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Conflict with “Page Builder by SiteOrigin”’ is closed to new replies.