• milor123

    (@milor123)


    Hi guys, I’m trying enable the developer mode of cloudflare from this plugin… but it not work, the debug tool says:

    Uncaught SyntaxError: Unexpected token A in JSON at position 4
    https://xeedbeam.me/wp-admin/options-general.php?page=cloudflare#/more-settings line 1
    • This topic was modified 7 years ago by milor123.
Viewing 6 replies - 1 through 6 (of 6 total)
  • thellimist

    (@furkan811)

    Hi @milor123,

    I have tested on the latest version of the plugin. This issue does not happen. Could you try re-installing the plugin? If the issue still persists, please provide more information from developer tools of your browser (console logs, network call).

    Thanks

    Thread Starter milor123

    (@milor123)

    Yes, I’ve try reinstall the plugin (it also occurs in older, some time ago, I tried another version and the same thing happened to me)

    The w3 total cache have a extension in the which it work, but I now has uninstalled it, and I would like your extension.

    check my log of console: (in this log I try disable the developer mode, because I’ve enabled it manually from cloudflare page)

    /wp-admin/admin-ajax.php?action=cloudflare_proxy Failed to load resource: the server responded with a status of 403 ()
    /wp-admin/options-general.php?page=cloudflare#/more-settings:1 Uncaught SyntaxError: Unexpected token A in JSON at position 4
        at JSON.parse (<anonymous>)
        at Object.callback (compiled.js?ver=3.3.1:6)
        at compiled.js?ver=3.3.1:35
        at d.callback (compiled.js?ver=3.3.1:35)
        at d.<anonymous> (compiled.js?ver=3.3.1:35)
        at d.r.emit (compiled.js?ver=3.3.1:35)
        at XMLHttpRequest.n.onreadystatechange (compiled.js?ver=3.3.1:35)
    thellimist

    (@furkan811)

    You’re getting 403 error https://httpstatuses.com/403. I can think of two possible reason that might cause this

    1) There is another plugin that might be interfering with Cloudflare Plugin. Try disabling other plugins one by one. You might find the plugin which is interfering.
    2) You don’t have sufficient permission to do that request. Are you a part of Organization from Cloudflare’s point of view? Here is a good source of what Multi-User Organizations are https://support.cloudflare.com/hc/en-us/articles/205065067-How-to-set-up-Multi-User-organizations-on-Cloudflare.

    Additionally, could you try to activate/deactivate other settings from the plugin and let me know if the same issue happens in those settings as well.

    Thanks

    Thread Starter milor123

    (@milor123)

    Nope it has no logic, because the w3 total cache can enable and disable the developer mode with through the api

    I’ve tried it with other domain and neither work, It must be a plugin error, malformed code

    thellimist

    (@furkan811)

    Nope it has no logic

    Could you get in details of what has no logic?

    I have mentioned 3 things in my previous answer. Let me know of whether you’ve tried them and post the results of it.

    Thanks

    • This reply was modified 7 years ago by thellimist.
    Thread Starter milor123

    (@milor123)

    Because I try disabling all plugins and not work, Besides i have a free account, I cant use multi user (and if w3t dont need multi user for do it, why could you need it?)

    Examples: you can see the other plugin the which works nice, (EC Developer Mode Integration for Cloudflare) with it can enable and disable the developer mode without problems

    Thank you very much. I want resolve my problem

    • This reply was modified 7 years ago by milor123. Reason: add Example of a plugin that which works nice and solve my problem
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uncaught SyntaxError when try set developt mode of cloudflare’ is closed to new replies.