Support » Plugin: Block Visibility ā€” Conditional Visibility Control for the Block Editor » Options page not loading when debug is on

  • Resolved Giorgos Sarigiannidis

    (@gsarig)


    Hi,

    I noticed that when I turn debug on I can’t access the plugin’s options page. The JavaScript console throws an error saying:

    Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

    Turning debug to off solves the problem.

    I had the same issue on both a live server and a local installation.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Thanks for reporting this! Looking into it now.

    Best,
    Nick

    Plugin Author Nick Diego

    (@ndiego)

    Thanks again @gsarig. I was able to track it down and just pushed version 1.7.1 with a fix. Let me know if you continue to experience any issues!

    Best,
    Nick

    Thread Starter Giorgos Sarigiannidis

    (@gsarig)

    Indeed, it is fixed now.
    Thank you for the insanely fast reply!

    Plugin Author Nick Diego

    (@ndiego)

    Of course! Shouldn’t have happened in the first place! I have added an additional step in my pre-release checks šŸ˜‰

    Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Options page not loading when debug is on’ is closed to new replies.