Git Product home page Git Product logo

Comments (8)

capuderg avatar capuderg commented on September 15, 2024 1

We are doing pretty much the same thing: create request data, send POST request to our website and process the results (with some minor changes)...

I think it's better, if we debug your code. Did you check what comes back to JS in the r variable?

from merlinwp.

richtabor avatar richtabor commented on September 15, 2024 1

Figured out it! A stupid variable name mistake. 🤦‍♂️

from merlinwp.

richtabor avatar richtabor commented on September 15, 2024

Also, are you folks at ProteusThemes folks planning on running a filtered activation as well, or are you just using the standard _license_key and _license_key_status options?

from merlinwp.

capuderg avatar capuderg commented on September 15, 2024

Hi @richtabor,

we are using a filtered activation and it's working OK. I would advise you to debug, what you get returned in the r in JS code. Maybe there is a PHP error in the filtered activation code and it does not return the correct response object.

Looking at your code, I don't see anything, that could cause that...

Take care!

from merlinwp.

richtabor avatar richtabor commented on September 15, 2024

Thanks @capuderg — that's what I thought to. I couldn't find anything that would have caused the issue as well. Do you mind sending over a snippet of what you guys are doing?

from merlinwp.

richtabor avatar richtabor commented on September 15, 2024

I just get the TypeError: null is not an object (evaluating 'r.success') JS error.

from merlinwp.

capuderg avatar capuderg commented on September 15, 2024

I guess this error is reported on this line? https://github.com/richtabor/MerlinWP/blob/master/assets/js/merlin.js#L178

Do you have a Xdebug setup on your dev environment? Try debugging your filtered license activation code block by block and see, where it fails. If not, try to return the resulting array sooner ('success', 'message') to see which part breaks the execution.

from merlinwp.

richtabor avatar richtabor commented on September 15, 2024

Thanks @capuderg, yea that looks like it. I don't. I'll take a look at it in the morning and see what I can uncover. 👍

from merlinwp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.