Awaken Solutions Inc.
Forum Replies Created
-
Thanks very much Scott. Done.
Forum: Plugins
In reply to: [Simple Restrict] Is this plugin still supported?No it is unfortunately not supported anymore. Furthermore, I was just advised of a security risk with this plugin. I have put the plugin up for adoption and I have released a new version with this message:
SECURITY RISK – SEEKING ADOPTION
Do not use this plugin until a new version is released. The team at WordFence has advised me of a security risk with this plugin. I am no longer in a position to develop or update this plugin. I am therefore putting this plugin up for adoption as described here. If nobody expresses interest in taking over this plugin within the next 30 days I will be removing it from the WordPress plugin repository.
I’ve done a bunch of combinations of enabled and disabled plugins and now.
In one case the Manage Reservations page loaded fine (~5 sec) with all plugins enabled, except the Log Long Actions you provided. Once Log Long Actions is enabled, it took ~60 sec to load, sometimes working, sometimes timing out.
But then clearing caches and trying different combinations gave different results.
So nothing conclusive can be drawn about any specific plugin conflict anymore, and perhaps it is an issue with ressources being overused when trying to load the Manage Reservations page.
To test the theory from your original reply, I deleted the User relationship field from my Reservations Pod. But the page still fails to load just as sporadically.
I will await your feedback.
I’ve continued testing and am getting inconsistent results, possibly due to WP Engine object caching. Even the above workflow isn’t being consistent anymore.
So, if you have any followup on the plugin you provided seemingly not giving us useful data, that might be the next best approach for us please.
Thanks again.
Hi Paul.
While awaiting a reply on the above, to help further diagnose the issue, I deleted 200 reservations from the staging system. My thinking was that, since this bug is relatively recent, if it were related to the quantity of Reservations, or a buggy recent reservation, this would perhaps show that. I deleted the 50 oldest ones, and the 150 most recent ones.
I did this from the WordPress UI by first disabling GravityForms to allow access to the Manage Reservations (/wp-admin/admin.php?page=pods-manage-reservation) page and deleting 25 at a time to get from 2884 to 2684.
With that done, and re-enabling GravityForms, trying to access the Manage Reservations page worked very well, loading almost immediately.
The fact that deleting 7% of the reservations made the Manage Reservations go from timing out to loading almost immediately suggests to me a possible bug with one of the reservations, rather than it just being less to load.
I am restoring the WP Engine backup to get all the reservations back and will see if I can further diagnose if one specific Reservation is causing an issue, or what else it could be.
Thank you so much for this. I added it as a regular plugin (zip here) and enabled it, along with the Pods and GravityForms plugins. I kept the “Pods Gravity Forms Add-On” plugin disabled initially.
I then loaded the troublesome page (/wp-admin/admin.php?page=pods-manage-reservation) and got these files:
000000-query-b8335edf83868e683ece87b81c7cf310.log
SELECT wp_m1pvts9w5t_posts.* FROM wp_m1pvts9w5t_posts WHERE 1=1 AND ( 0 = 1 ) AND wp_m1pvts9w5t_posts.post_type = 'wp_global_styles' AND ((wp_m1pvts9w5t_posts.post_status = 'publish')) GROUP BY wp_m1pvts9w5t_posts.ID ORDER BY wp_m1pvts9w5t_posts.post_date DESC LIMIT 0, 1000000-query-b28366afe46f00199c6ff0f037313092.log
SELECT wp_m1pvts9w5t_posts.* FROM wp_m1pvts9w5t_posts WHERE 1=1 AND ( 0 = 1 ) AND wp_m1pvts9w5t_posts.post_type = 'wp_template_part' AND ((wp_m1pvts9w5t_posts.post_status = 'publish')) GROUP BY wp_m1pvts9w5t_posts.ID ORDER BY wp_m1pvts9w5t_posts.post_date DESCTo be sure, I deleted those log files and reloaded the troublesome page and got the same thing with the new log files.
And I also tried with the “Pods Gravity Forms Add-On” plugin enabled, but the log files were again the same.
Thanks in advance for your thoughts and suggestions.
Thanks for the reply Paul.
I tested on my own server before creating the WP Engine staging environment and it would never resolve no matter how long I extended the timeout limit.
Yes, there is indeed a field tied to Users, it is the “Billing contact” field. Please see here for the following screenshots:
- 01 Fields
- 02 Field details
- 03 Relationship options
- 04 Advanced
- 05 Conditional logic
The first screenshot is all the fields for the “Reservation” Pod. The other screenshots are the specific settings for the “Billing contact” field.
I removed the “Billing contact” field from the “Admin UI” settings of the Pod (both from “Admin Table Columns” and “Search Filters”) but it didn’t help.
There are no custom functions running on the Reservations page. I removed all functions, disabled all plugins except Pods and Gravity Forms, and set the default WordPress theme.
Importantly, as mentioned, the “Reservation” Pod can be viewed without trouble once the Gravity Forms plugin is disabled. It takes about 7 seconds to load. One more screenshot at the same link shows the table view on the “Manage Reservations” page (/wp-admin/admin.php?page=pods-manage-reservation):
- 06 Reservations page
The “Billing contact” column has been removed as per my test above, and for confidentiality. But when enabled, the page still loads in about 7 seconds.
Once GravityForms is enabled, the problem returns and the “Manage Reservations” page times out.
I am happy to provide credentials via email if you are open to the idea.
Thanks again.
Thanks for the quick reply Scott, and happy new year.
Here it is: https://gist.github.com/GitHubGreg/ac65c7a6afd8ae347318babc2c445c5e
Forum: Plugins
In reply to: [Simple Restrict] Restrict acces in custom page “project”No, this plugin only works with standard post types.
Forum: Plugins
In reply to: [Simple Restrict] Adding new userThis plugin is still maintained and still works correctly on all my test and live sites with the latest version of WordPress. I simply haven’t had the time to release a no-change version bump to clear those inactive warnings in the plugin directory.
Forum: Plugins
In reply to: [Simple Restrict] Is the plugin support the gutenberg editor block group?No, this is not supported by the plugin. Thanks for the feedback.
Forum: Plugins
In reply to: [Simple Restrict] Error updating a user profileI have just tested this on WordPress 5.6.1 and cannot replicate the issue. I have enabled PHP notices and warnings (not always recommended, since it will show lots of such warnings depending on the number of plugins you have installed) and tried changing the checkboxes alongside different permissions for a test user. I saved and no warnings appeared, and the user was updated.
It is possible something else is conflicting with the POST object, based on the first error it references on line 200. Can you please try disabling all other plugins and using a default WP theme, then trying again?
Forum: Plugins
In reply to: [Simple Restrict] Still up-to-date?Yes the plugin still works with the latest version of WordPress. The next time updates are needed, we will update the “Tested up to” value, but it is not common practice to release an update just to change the “Tested up to” value.
No, “we people” do not have sample sites to share. It is a free plugin so you can try it and see if you like how it looks.
Forum: Plugins
In reply to: [Simple Restrict] Translate the limited access messageMy pleasure!
Forum: Plugins
In reply to: [Simple Restrict] Translate the limited access messageGreat question. Being in Montreal and handling a lot of bilingual websites, I can empathize with this request.
I unfortunately don’t have the time to redesign the plugin to interact with Polylang and WPML (the other big multilingual plugin), so the only solution is to go to the plugin settings and write the restriction text in both languages.
Perhaps a premium (paid) restriction plugin like Restrict Content Pro might offer this feature (among others), but as a free plugin there are inherent limits to the time I can spend developing it.
All the best.