-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed permalinks result in 404 error with Pods activated #5432
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Could you try and re-save the permalinks with Pods active? It sounds like it has to do with some form of cache/transients |
You mean reset the permalink on the Permalink Settings page? I just tried it with Pods active and I still get a 404 when I click on a link. |
@HmCody You used a slug of 'year' for your Years Taxonomy. This is a Reserved Keyword from WordPress. That's why you're getting permalink issues. Change that slug and you should be fine. #5428 << We Really need to prevent this from happening @sc0ttkclark @JoryHogeveen This is getting to be a critical bug. |
@jimtrue It's scheduled to go out in the next maintenance release we're prepping right now. There's one other thing to fix on that before it goes out it looks like. |
Thanks, @jimtrue! That fixed it. |
Describe the bug
I forgot to change my permalink structure when I started developing a site. When I tried to change it after having everything set up, all of the pages except the home page resulted in a 404 error. When I deactivated Pods, the pages were all reachable. The pages that have a list of the data from my CPT even correctly display the post title. I reactivated Pods and the error is back. I tried clearing the Pods Cache, but that didn't seem to help.
Pods Version
Pods - Custom Content Types and Fields: 2.7.14
WordPress Environment
`
wp-core
version: 5.2.2
site_language: en_US
user_language: en_US
permalink: /%postname%/
https_status: true
user_registration: 0
default_comment_status: closed
multisite: false
user_count: 4
dotorg_communication: true
wp-paths-sizes
wordpress_path: /home/thecodyg/VK9Test.thecodygroup.com
wordpress_size: 37.40 MB (39220085 bytes)
uploads_path: /home/thecodyg/VK9Test.thecodygroup.com/wp-content/uploads
uploads_size: 37.77 MB (39604681 bytes)
themes_path: /home/thecodyg/VK9Test.thecodygroup.com/wp-content/themes
themes_size: 5.22 MB (5471440 bytes)
plugins_path: /home/thecodyg/VK9Test.thecodygroup.com/wp-content/plugins
plugins_size: 27.89 MB (29240554 bytes)
database_size: 4.36 MB (4574840 bytes)
total_size: 112.64 MB (118111600 bytes)
wp-active-theme
name: Hello Child
version: undefined
author: Anonymous
author_website: (undefined)
parent_theme: Hello Elementor
theme_features: menus, post-thumbnails, automatic-feed-links, title-tag, html5, custom-logo, editor-style, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
theme_path: /home/thecodyg/VK9Test.thecodygroup.com/wp-content/themes/hello-elementor
wp-themes (4)
Astra Child: author: Anonymous, version: (undefined)
Astra: version: 1.8.7, author: Brainstorm Force
Hello Elementor: version: 2.2.0, author: Elementor Team
Twenty Nineteen: version: 1.4, author: the WordPress team
wp-plugins-active (10)
Admin Columns Pro: version: 4.6.3, author: AdminColumns.com
Admin Columns Pro - Pods: version: 1.4.3, author: Admin Columns
Current Year and Copyright Shortcodes: version: 1.0.2, author: David Gewirtz
Duplicate Post: version: 3.2.3, author: Enrico Battocchi
Ele Custom Skin: version: 1.1.4, author: Liviu Duda
Elementor: version: 2.6.7, author: Elementor.com
Elementor Pro: version: 2.6.2, author: Elementor.com
Loginizer: version: 1.4.2, author: Raj Kothari
Pods - Custom Content Types and Fields: version: 2.7.14, author: Pods Framework Team
WPS Hide Login: version: 1.5.3, author: WPServeur, NicolasKulka, tabrisrp
wp-media
image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
gd_version: bundled (2.1.0 compatible)
ghostscript_version: 9.07
wp-server
server_architecture: Linux 3.10.0-714.10.2.lve1.5.17.1.el7.x86_64 x86_64
httpd_software: LiteSpeed
php_version: 7.1.30 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 30
memory_limit: 256M
max_input_time: -1
upload_max_size: 50M
php_post_max_size: 8M
curl_version: 7.62.0 OpenSSL/1.0.2k
suhosin: false
imagick_availability: false
htaccess_extra_rules: false
wp-database
extension: mysqli$Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
server_version: 5.5.5-10.1.40-MariaDB-cll-lve
client_version: mysqlnd 5.0.12-dev - 20150407 -
wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/thecodyg/VK9Test.thecodygroup.com/wp-content
WP_PLUGIN_DIR: /home/thecodyg/VK9Test.thecodygroup.com/wp-content/plugins
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_LOCAL_DEV: undefined
wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
pods
pods-server-software: LiteSpeed
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
pods-session-save-path: /opt/alt/php71/var/lib/php/session
pods-session-save-path-exists: Yes
pods-session-save-path-writable: Yes
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: No
pods-opcode-cache-redis: No
pods-object-cache-apc: No
pods-object-cache-apcu: No
pods-object-cache-memcache: No
pods-object-cache-memcached: Yes
pods-object-cache-redis: Yes
pods-memory-current-usage: 36.437M
pods-memory-current-usage-real: 38.000M
pods-network-wide: No
pods-install-location: /home/thecodyg/VK9Test.thecodygroup.com/wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
`
Pods Package Export (helpful!)
Additional context
Add any other context about the problem here.
Possible Workaround
If you have discovered a workaround, please include it below.
The text was updated successfully, but these errors were encountered: