• Resolved section28publishing

    (@section28publishing)


    This was working fine until I updated to WordPress 5.9. Now, Any page that has the shortcode on it is broken, but only if the user is NOT logged-in. Once a user logs in, the problem goes away.

    When the user is NOT logged in, the page displays plain html, all the CSS and images are gone.

    This includes a basic log in page, as well as a woo-commerce “My Account” page.

    The error code thrown in Firefox is:

    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter section28publishing

    (@section28publishing)

    Quick update – According to another support request, the shortcode only works when the member is logged in, it throws a script error otherwise. Once I removed the button from the pages that had access without login, the problem went away.

    Two takeaways/recommendations for the devs:
    1. The written documentation needs updating. There is no info about the shortcode, nor is there any info about potential issues with non-logged-in members.

    2. It seems to me that a simple check-script would likely solve the broken code/script issue when on a more open placement is used.

    Feature request? Maybe allow size/color changes for the button? Or at least use the discord colors – your lime green is very… bright, verging on garish.

    TLDR – problem worked around until the next update, hopefully.

    Plugin Author expresstechsoftware

    (@expresstechsoftware)

    Hi @section28publishing
    Thanks for pointing out the issue and as well as the Work Around.
    We are working on this on priority.

    Github link for status: https://github.com/expresstechsoftware/pmpro-discord-add-on/issues/268

    Plugin Author expresstechsoftware

    (@expresstechsoftware)

    Hi @section28publishing
    Kindly use the updated version, we have fixed the issue and improved the shortcode.

    Also we are not working on feature requested for button design.

    Plugin Author expresstechsoftware

    (@expresstechsoftware)

    Sorry,
    We are now working on the feature requested for button design.

    Plugin Contributor Ravi Soni

    (@webbdeveloper)

    The button designer is released,
    Check the Appearance Tab in the plugin setting Menu inside admin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin broke site on Safari’ is closed to new replies.