johnbuol
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache] Adding author pages and custom URLsOK
Forum: Plugins
In reply to: [WP Fastest Cache] Adding author pages and custom URLsYes, on localhost. Posts, Pages, and CPTs are caching as expected, but these others are not. How can I get WPFC to add these?
Forum: Plugins
In reply to: [WP Fastest Cache] Adding author pages and custom URLsNo, these pages are not being added to the cache and I’m asking how to do so.
Forum: Plugins
In reply to: [WP Fastest Cache] Adding author pages and custom URLsThank you for the response!
Example for the user page: https://localdevsite.local/user/billjones. This is created by a custom author.php in the theme using the username and the URL is created by an init action using wp_rewrite for every User account to reader “user” instead of “author”.
Example for the page created by an external table: https://localdevsite.local/details/2. This is created by a template in the theme referencing a table called Details and Pods.io page with the last part of the URL being the ID.
Both work as inteneded but neither is cached. I’ve read your documentation, search your site, and read through your source and can’t find a way to make WPFC cache these.
WP 6.3.1, Pods 3.0.6, PHP 8.1.23 (Local on Windows 10)
Update on recreating this issue. With a new WP test site only using Pods, I can recreate the Capabilities issue under the Advanced Options tab by unchecking Additional User Capabilities and leaving User Capability set to post.I unchecked that because I don’t want to create Additional User Capabilities for those CPTs. I’m still confused how that causes the loss of capabilities that were never created… In the new test site, rechecking it fixed the issue.
However, on the original site, this still doesn’t fix it. The capabilities appear renewed but saving a new CPT leaves it as a Draft. Editing a previously saved CPT and then saving redirects to the Posts->All Posts menu and the CPT is never updated, even as a Draft. This is true even after deleting the Pods and recreating them, leaving the database alone.
One attempt to save one of these CPTs yielded this error (I haven’t been able to reproduce this):
“Deprecated: Return type of Pods\API\Whatsit\Value_Field::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in \wp-content\plugins\pods\src\Pods\API\Whatsit\Value_Field.php on line 97”
I’m trashing the original site to start anew as I’m at a loss on how to recover it. The only bits not working on it are the Pods-created CPTs.PHP version 8.1.23.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] get_pages fails with Pods installed>> Did you register the event post type through Pods as well?
Yes.
>> If so, did you correctly set the public and queryable options?
No, and that was the fix. Looking back at my old plugin and then re-reviewing Pods settings, I see what I failed to do.
The Metabox works now. Thanks! Pods is really great, especially when I stop overlooking things ??
- This reply was modified 4 years, 9 months ago by johnbuol.