• Resolved giorgosm

    (@giorgosm)


    Hello, im writing to report a bug. If i insert a code snippet with mixed php js and html to wordpress Site Editor on an Archive Page it works only if a user is logged in otherwise the code does not execute (!).
    I troubleshooted that using another code plugin and it works fine with that so it should be a wpcode problem.
    If you cannot replicate it feel free to message me to guide you through the problem.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @giorgosm,

    Thank you for reporting this. How are you inserting the snippet into the archive page? Are you using a shortcode or the auto-insert options?

    Are you using any type of conditional logic in the settings of the snippet?

    Thread Starter giorgosm

    (@giorgosm)

    Wow quick reply!

    Im using the shortcode option and no conditional logic.

    Plugin Author Mircea Sandu

    (@gripgrip)

    Thank you for the details. I can’t think of anything that would prevent the snippet from loading when you are not logged-in except for: cache or conditional logic in the settings of the snippet.

    Would it be possible to export the snippet from Tools > Export and send us the export file via the form at https://wpcode.com/contact to run some tests on our end?

    Thread Starter giorgosm

    (@giorgosm)

    Sure i would be happy to but im using the free option of the plugin, i do not have an account.

    Plugin Author Mircea Sandu

    (@gripgrip)

    You don’t need an account to submit the form, you can click the “Complete a form” button under “I have a basic question” on that page.

    Thank you

    Thread Starter giorgosm

    (@giorgosm)

    There is no file attachment option there.

    Thread Starter giorgosm

    (@giorgosm)

    its ok i send it over with wetransfer

    Plugin Author Mircea Sandu

    (@gripgrip)

    Thank you @giorgosm got the file. It seems there’s a bug on our end with the conditional logic for Shortcode – even though the conditional logic is disabled from the main toggle, there is a rule for “User logged in” for your “Archive Map” snippet and that is applied even though the main rules toggle is disabled. Please enable the rules, remove the rule and that should allow you to use the snippet right away.

    I have made a note about this and we’ll make sure to fix the logic there to only apply the rules if the conditional logic is enabled in the next release.

    Thread Starter giorgosm

    (@giorgosm)

    Cool thanks a lot! That’s the quickest support i have ever seen! Keep up!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Bug with FSE’ is closed to new replies.