• Resolved LordZed

    (@lordzed)


    Hi,

    when I activate the plugin the lightbox is not working. In the console I’m getting

    jquery.js:4 GET http://www.tripaphy.com/wp-json/mwl/v1/info/?p=5304 404 (Not Found)

    I already deactivated iThemes Security because I thought it might block the API, but it didn’t change anything.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter LordZed

    (@lordzed)

    When I’m opening the link I’m getting this message:

    {"code":"rest_no_route","message":"Keine Route f\u00fcr URL und Request-Methode gefunden","data":{"status":404}}

    Hello LordZed,

    Thank you for reporting an error, unfortunately I think that my partner Jordy is the one who will be able to give you an accurate answer for API-related issues, I’ll ask him to have a look at this and post his answer here asap !

    Sorry for the delay,

    Best Regards,
    Thomas

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hello @lordzed,

    Routing/Permalink is not enabled. WordPress should do this by default imho but doesn’t, though it’s recommended and the plugin should also tell you so, it’s surprising you didn’t get any warning 🙂

    Check this:
    http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-posts-returning-404-error/

    Basically you can just turn on the Permalinks and it will work 🙂

    I don’t have lightbox enabled but after upgrading WP to 4.7.2 I also got 404 instead of /wp-json/ data. Nevertheless /wp-json/wp/v2/posts works fine.

    Plugin Author Jordy Meow

    (@tigroumeow)

    You mean “/wp-json/” doesn’t work but “/wp-json/wp/v2/posts” does work? This is strange (or not really possible) except if a specific plugin is actually blocking on purpose those URLs. Using any security plugins?

    Thread Starter LordZed

    (@lordzed)

    Hey @tigroumeow

    I have Permalinks activated but I’m using the “Redirect” Plugin and the “iThemes Security” Plugin. Can any of those cause the problem? I deactivated them but still had this problem.

    Unfortunately I disabled all plugins but still, problem exists.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Actually, indeed, it might be something else. Where is an URL where I can see the problem occurs? (a page that I can see, with photos)

    Thread Starter LordZed

    (@lordzed)

    I’ll activate it for you on my portfolio page this evening and will send you the link here. In about an hour or two.

    Thread Starter LordZed

    (@lordzed)

    Interesting… I’ve been setting it up on another website using the same theme and it works perfectly. Will try to find out the reason now by comparing the configurations and let you know what the problem was 🙂

    Hello LordZed,

    Did you find the solution to your problem ?

    Best regards,
    Thomas

    Hello LordZed,

    I’m closing this ticket for now, feel free to reopen it or create a new one if you problem hasn’t been solved,

    Cheers,
    Thomas

    Thread Starter LordZed

    (@lordzed)

    Hey Thomas,

    I didn’t look further into it so far. But because it’s working on my other installation, I guess it’s a problem with some theme or plugin incompatibilities. I’ll let you know as soon as I found out which one 🙂

    For now though you can close it, yes.
    Thanks and sorry for the late reply.

    Hello LordZed,

    Oh I see, please let us know if you find the reason ! It could help other people with the same problem 🙂

    All the best,
    Thomas

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Lightbox not opening (wp-json 404)’ is closed to new replies.