Comments (8)
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.
Figured out it! A stupid variable name mistake. 🤦♂️
from merlinwp.
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.
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.
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.
I just get the TypeError: null is not an object (evaluating 'r.success')
JS error.
from merlinwp.
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.
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)
- Plugins List
- Advance list
- SSL certificate expired HOT 1
- Elementor Welcome Screen Overrides Next Step on Activation HOT 1
- Page access HOT 3
- XML import not working properly HOT 2
- Issues found by Theme Check plugin HOT 1
- Closed
- SSL missing at merlinwp.com
- Problem with import Persian in Elementor
- How to add website url to 'View your website' button at the last step HOT 1
- Doesn't work with Elementor
- get_current_page was called incorrectly
- Not Working With Elementor Plugin HOT 2
- Abandoned? HOT 1
- Header not importing.
- Showing Error In PHP 8+
- Importing Theme Options by Any Framework Except Redux
- Deprecated with PHP 8.2 HOT 1
- Merlin WP: Continued Development
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from merlinwp.