WPML with BeBuilder Templates and CPTs

edited January 3 in Other

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.

  1. We create a standard CPT either using ACF or manually through PHP (No Problem)
  2. We create a test post (Displays as it should)
  3. We go to the BeBuilder Templates and see the CPT there with the archive and single post item (No Problem)
  4. We then create a template and set the conditions to properly capture only single posts for the template (Works without Issue)
  5. We enable WPML default setting (No Problem)
  6. 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)
  7. We re-apply the template, then clear caches and permalinks (No Change the issue persists and template is not applied)
  8. We clear the BeBuilder History and recreate the CSS, as well as clear the Cache under Performance. (The Issue Persists)
  9. We de-activate WPML (The Issue Persists)
  10. We re-apply the BeBuilder Template (Now the post type shows again with the appropriate template applied)
  11. We re-activate WPML (The post type still shows with the appropriate template and formatting)
  12. 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

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.