shawfactor
Forum Replies Created
-
Forum: Plugins
In reply to: [LH First Comment Redirect] Fatal error message in discussion settings pageThanks for the pickup
This should be fixed in the latest version, can you test in your setupForum: Plugins
In reply to: [LH Archived Post Status] Archived posts are gone when uninstalled.The posts are still on the database, it is just that WordPress does not recognise them anymore. So just reinstall the plugin, go through and change all the posts to publish (or a similar native status), then deactivate and uninstall the plugin
I’ll add this to the faq to make it obvious in the future
Out of interest why did the client demand it be uninstalled?
Forum: Plugins
In reply to: [LH Wayback Machine] Any updates soon?No sweat I’ll send out a minor update. It is kind of stupid though for security plugins to be flagging stable plugins with no issues
Good simple plugins often don’t need updates
Forum: Plugins
In reply to: [LH Archived Post Status] Several Plugin Conflicts with new updateThe publishpress guys have added this as an issue on GitHub. Hopefully they fix it at their end
Forum: Plugins
In reply to: [LH Archived Post Status] Several Plugin Conflicts with new updateActually I’ve done this analysis and IMo the issue lies with publishpress. In a blank WordPress install the post statuses are all objects but everything blow that is an array or arrays.
I’lve added an issue to publishpress to their forum on the repository.
- This reply was modified 3 years, 8 months ago by shawfactor.
Forum: Plugins
In reply to: [LH Archived Post Status] Several Plugin Conflicts with new update@matthodder
Thanks for the clarificationI’ve not done the analysis but I was wondering what way is most consistent with how core WordPress does this? Logically we should have consistency don’t you think…
- This reply was modified 3 years, 8 months ago by shawfactor.
Forum: Plugins
In reply to: [LH Archived Post Status] Save draft disappearsIt doesn’t disappear, you just don’t have a separate button to save draft anymore.
But you can still save as a draft just by selecting the draft status in the dropdown (it should default to draft initially anyway) and saving it. This is simply how the plugin works
I am resolving this for good order, but will still monitor the thread
Forum: Plugins
In reply to: [LH Archived Post Status] 3.0 breaks REST API callsI am resolving this for good order, but will reopen if needed
On review this error is not caused by the plugin. The error location is a “red herring” (it’s misleading). It’s where PHP discovered the problem, not the root cause of the problem. You need to fix the root cause.
Another plugin is filtering rest_prepare_{$this->post_type} earlier than this plugin and is returning incorrectly. Then this plugin tries to work with the incorrect return value.
Deactivating plugins until you find the culprit is the best bet.
Forum: Plugins
In reply to: [LH Archived Post Status] add timeThe answer is not immediately. It is a toss up really but atm I prefer to keep the plugin simple, plus there is the issue of time juggling across time zones
Forum: Plugins
In reply to: [LH Archived Post Status] 3.0 breaks REST API callsThanks for the heads up, very weird, I’ve never seen this error and I use my the plugin extensively across the platform I’ve built and I log all errors. It is weird that it is only now being reported
Two questions
1. Have you verified the issue is actually with the plugin by disabling all other plugins first. It is possible that some other plugin is manipulating the post object first
2. Where, when is the error happening? Ie what specific url or rest endpoint?
Forum: Plugins
In reply to: [System Dashboard] php warningI am getting a similar warning here
[26-Aug-2022 02:52:17 UTC] PHP Warning: Trying to access array offset on value of type bool in *****wp-content/plugins/system-dashboard/admin/class-system-dashboard-admin.php on line 4544
the offending code is:$errors_log = get_option( ‘system_dashboard_errors_log’ );
$errors_log_status = $errors_log[‘status’];You are right it should not need publish to be set but I’m glad it works
Can you please let me know the shortcode you are using as I’lol run sone tests to replicate this (if I can)?
Well firstly the plugins behaviour depends on whether you want to exclude them from the main loop or entirely , this is controlled by the settings.
Anyway presuming you you want to exclude it from the loop, the issue is likely that this is some sort of custom loop on the front page rather than the main one.
So I’d suggest just adding the argument:
$args[‘post_status’] = ‘publish’;
That should give you just published posts specifically. Give that a go, should work but it’s hard to debug these things remotely
Forum: Plugins
In reply to: [LH Multisite Ads] Error in frontendI’ll look at this shortly
Forum: Plugins
In reply to: [LH Buddypress Multi Network] RegistrationActually yes and no.
When this plugin is activated it enables registration per site. Although obviously the user table is shared (it is Multisite). But by registering you get a role on that site
Sometimes if that is not working though you need to set the buddypress pages per site. I’ll add that to the plugin instructions more clearly