WPML with BeBuilder Templates and CPTs
Hey Team I have run into an interesting issue.
We have created various CPTs and are running WPML. As we are in development we are testing all sorts of components but we found an interesting issue. I will outline it step by step as it was easy to reproduce regardless of how we created the CPT.
- We create a standard CPT either using ACF or manually through PHP (No Problem)
- We create a test post (Displays as it should)
- We go to the BeBuilder Templates and see the CPT there with the archive and single post item (No Problem)
- We then create a template and set the conditions to properly capture only single posts for the template (Works without Issue)
- We enable WPML default setting (No Problem)
- We update the Template in BeBuilder for the CPT (Problem: The post now reverts back to a standard single post layout as used in blog posts with the next and previous post functions etc. as set under Theme Options)
- We re-apply the template, then clear caches and permalinks (No Change the issue persists and template is not applied)
- We clear the BeBuilder History and recreate the CSS, as well as clear the Cache under Performance. (The Issue Persists)
- We de-activate WPML (The Issue Persists)
- We re-apply the BeBuilder Template (Now the post type shows again with the appropriate template applied)
- We re-activate WPML (The post type still shows with the appropriate template and formatting)
- We update the BeBuilder Template (Problem: The post reverts again to the standard single post template)
We have troubleshot this multiple ways such as removing all additional plugins, including disabled plugins as well as uninstalling and reinstalling WPML just in case an error occurred there. Always with the same result. We checked our debug and php error logs and have no entries when this error occurs which is creating a bit of a headache for us.
Updated: BeBuilder Data Storage is set to Serialized.
Updated: WPML is set to have each language under a subfolder so domain.com/es/ or domain.com/fr/
Current Server Config:
Php Version: 8.3.28
Php Memory Limit: 2048M
Php Max Execution: 300
Php Upload Max: 256M
Php Post Max: 256M
Wp Version: 6.9
Wp Multisite: No
Wp Debug: Enabled
Wp Debug Log: Enabled
Wp Memory Limit: 1048M
Wp Max Memory: 2024M
Any help would be appreciated.
Philipp
Comments
Hey,
Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
Thanks I sent the information and created the accounts for you.