Header Builder save fails (Error 400 / 404) after domain change – BeTheme child active
Hi Muffin Group team,
I’m hoping you can help as I’m stuck with an issue affecting the Header Builder and template saving.
Theme setup:
- Active theme: betheme-child (v2.0.2)
- Parent theme: betheme (v28.2.2)
- PHP: 8.1 (cPanel/WHM server)
Problem:
When I try to create or save a header using the Header Builder, I get:
- “Error 400: Please check your code, server configuration or contact your hosting provider”
- Sometimes the preview/load attempts return a 404
The error appears when saving display conditions (e.g. “Include → Entire Site”).
What I’ve already checked:
- Parent theme is installed and recognised:
template = bethemestylesheet = betheme-child
- WordPress URLs are correct after moving from .com to .co.uk
- REST API works (
/wp-json/returns normal data) - Permalinks flushed
- No
template-itemposts exist in the database:wp post list --post_type=template-itemreturns empty
wp post-type listdoes NOT show a BeTheme template post type being registered (onlyelementor_library,wp_template, etc.)
This makes me think the BeTheme Templates / Header Builder CPT may not be loading at all.
Questions:
- Should I be seeing a custom post type like
template-itemwhen BeTheme is working correctly? - Is there a specific Theme Options setting that enables:
- Templates
- Header Builder
- Builder-related post types?
- Could Elementor Theme Builder be conflicting with BeTheme’s Header Builder?
- After a domain change, is there anything BeTheme-specific I need to reset/rebuild?
At the moment, the Header Builder UI opens, but saving conditions or publishing triggers the 400 error and no header template seems to be stored.
Any guidance on:
- Confirming the correct post type should be registered
- Re-enabling the template system
- Or known conflicts with child themes / Elementor
would be really appreciated.
Thanks in advance!
Marc
Comments
Hi,
1) I am sorry, but I do not understand. Where do you suppose to see them? Please explain that in more detail.
2) In Betheme -> Theme options -> Global -> Advnaced, you must have templates checked:
3) Do you have Elementor Pro and any header template done with it?
4) How did you move your website? Did you use any plugin, or did you do it manually? Do you see any other problems beyond the ones with the header builder?
5) Regarding your problems with the header builder, please turn off all of the plugins, refresh your cache, and check if the problem persists.
Moreover, as you use a child theme, switch to the parent, and recheck it.
Thanks
1) So when i click save on header builder it shows 404 error.
2)
3) No header with elementor.
4) Cpanel reference was changed from .com to .co.uk and wordpress was changed to reflect
5) Changed to main theme but 404 when saving header template
Just to add, it also gives 404 with only betheme enabled and no plugins.
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