danielkun
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed prevents other plugins licence-validationThat’s the plugin but I’m unsure if the “lite” version has the license code in it. I purchased the full version. I’ll let the author comment.
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed prevents other plugins licence-validationI did some debugging by logging the response from wp_remote_post() and consulted with the developer of the plugin. It turns out the entire “body” from the the response is missing when the license check is executed automatically. If I execute the license check manually in wp-admin it works fine. But if I let the plugin do the license check automatically (i guess it’s triggered by visitors?) then the reponse body is empty and the license renewal fails.
What I don’t understand is, all I have done is activate the LiteSpeed plugin. I have disabled all types of caching. Is there some hidden setting?
- This reply was modified 1 year, 2 months ago by danielkun.
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed prevents other plugins licence-validationThank you for the update.
Adding “realmedialibrary” did not help. Every 24h I keep getting licence errors. I contacted the creator or the plugin and asked if they call the website or not and they responded:
No, our license server never contacts your website. It is only an outgoing connection from WordPress to our license server.So there is something within the LiteSpeed plugin that interferes when the RealMediaLibrary tries to call its license servers.
I’ll turn on the log and see if it helps.
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed prevents other plugins licence-validationThank you. I’ll give it a try.
The plugin renews the licence once a day. So every 24 hours.
I had to add the exclusions below to get the plugin to work in wp-admin:^/wp-json/realmedialibrary/v1/tree
^/wp-json/real-product-manager-wp-client/v1/announcement/real-media-library/activeBut the URI’s above are only API:s between WordPress and the browser. Not the licence server.
I debugged the URL that is used when renewing the licence. It’s:
https://license.devowl.io/1.0.0/license/activationThe plugin POSTs data to the above URL with wp_remote_post().
Should I add the external URI’s to the “Do not cache URI” as well?Great! Thank you!
Thank you Samuel for the detailed answer!
That pretty much answered my question!I noticed something else though. And this one really confuses me.
Why does 😀 get converted into a emoji character whereas 🙂 gets converted into an image?I took some screenshots again..
Image 1
Image 2
Image 3😉
Edit: Maybe there is no emoji that corresponds to 🙂 ? But that doesn’t sound likely, or does it?
Forum: Networking WordPress
In reply to: WP Multisite OR Stand-alone sites with shared codebase?Thank you very much Jen! I’ll have a look at WordCamp.org and join your mailing list! 🙂
Forum: Networking WordPress
In reply to: Moving Mulitsite to new serverSet permissions on wp-content/uploads. Your user probably can’t write to disk.
Forum: Fixing WordPress
In reply to: Changed permalink structure – old links no longer workThank you for your reply.
My new URL structure relies on a custom category (called “Main Theme” above) and this “Main Theme” is added to the permalink when saving/publishing the post.
Initially, I am adding a placeholder called %MAIN_THEME% to the URL, and once the post is saved/published I update the placeholder in the permalink with the “Main Theme” selected.
Old posts don’t have this “Main Theme” category set, and therefor I don’t know which URL to redirect to. Only new posts (created after the permalink structure was changed) have a “Main Theme”. That’s why I believe a simple 301 redirect won’t work.
Forum: Fixing WordPress
In reply to: Update placeholder in URL on save/publishI’m answering my own question. This got me started.
https://wordpress.org/support/topic/plugin-wp-permastructure-custom-structure-tag?replies=1Keywords would also be:
add_rewrite_tag
add_rewrite_ruleSorry! You’re right. Option.php was missing.
Very strange. Option.php was in the original directory but somehow was missing after I copied it into PHPStorm.Alright 🙂
It may still be a good idea to add an isset() check to avoid Notices directly after enabling the plugin. Doesn’t give a good first impression 😉Thanks for the fast response.
Shows up everywhere in admin after the update:
Notice: Undefined index: admin_area in /Users/xxx/wp-content/plugins/ga-google-analytics/ga-google-analytics.php on line 107
Try using a clean database, maybe that will help reproduce it.
Call Stack
# Time Memory Function Location
1 0.0003 276608 {main}( ) ../index.php:0
2 0.0006 335168 require_once( ‘/Users/xxx/wp-admin/admin.php’ ) ../index.php:10
3 0.0008 350456 require_once( ‘/Users/xxx/wp-load.php’ ) ../admin.php:31
4 0.0009 360456 require_once( ‘/Users/xxx/wp-config.php’ ) ../wp-load.php:29
5 0.0013 441104 require_once( ‘/Users/xxx/wp-settings.php’ ) ../wp-config.php:84
6 0.1030 15833816 include_once( ‘/Users/xxx/wp-content/plugins/ga-google-analytics/ga-google-analytics.php’ ) ../wp-settings.php:215Forum: Fixing WordPress
In reply to: BUG? WP_Query() does not return the same result as query_posts()get_posts() seems to do the job correct as described here.
You can delete them manually by accessing the DB. they’re in a seperate table, you should be able to find them quickly. not a nice fix though.