Skip Navigation

[Resolved] Pages created with a Toolset template page do not render on front end

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Supporter timezone: Pacific/Easter (GMT-06:00)

This topic contains 1 reply, has 2 voices.

Last updated by Ilyes 1 year, 4 months ago.

Assisted by: Ilyes.

Author
Posts
#2691081

I have a bunch of custom posts on WP through Toolset. When viewing these in a view they render fine on the front end, but when they are in individual pages within a template they do not render and send a 404. This has only just started happening (probably this morning or yesterday) and previously has worked well for years. This is now happening across all custom post types.

I've spent the morning talking to WP to rule out any issues on their side. There have been no updates done to any of the plugins or theme. There have been no major changes done to the site. I have reviewed the activity log and PHP errors. There are no errors being sent at the moment related to this issue, so WP are a bit confused as to what's happening. All other non-Toolset pages are rendering fine. We have ruled out plugin and theme conflict by changing the theme and disabling/re-enabling all plugins. All Toolset plugins are set to auto-update, so they are all up-to-date.

Link to a page where the issue can be seen:
View page - hidden link
Front end of the top project - hidden link

#2691416

Ilyes
Supporter

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Thank you for contacting Toolset support team,

Since you have ruled out common causes such as WordPress updates, plugin conflicts, and theme issues, it might be related to a more specific configuration or setting within Toolset or the custom post types themselves.

Here are some troubleshooting steps and suggestions to help resolve the issue:

Pages status:
Could you please double-check if these posts are indeed set as published and not as draft?

Permalinks:

Go to WordPress dashboard > Settings > Permalinks.
Click on "Save Changes" to refresh the permalinks structure.
Sometimes, resetting the permalinks can resolve 404 errors related to custom post types or rewrite rules.
PS: If you are using custom permalinks, try changing it to a default setting just to see if the issue is related to that.

Debugging and Logging:

Enable WordPress debugging by adding the following code to your wp-config.php file:
php

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

Check the debug.log file in the wp-content directory for any related errors, warnings, or notices that might provide clues or insights into the issue.

Cache and Optimization Plugins:

If you are using any caching or optimization plugins, try clearing the cache or temporarily deactivating them to see if it resolves the issue.
Sometimes, caching or optimization plugins can interfere with the rendering and display of dynamic content, including custom post types.

Best,

#2691448

Hi,

The permalinks suggestion worked for me! Thanks for suggesting it!

James