PHP 7.2 - Warning: Use of undefined constant „betheme_child_styles“
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Arial}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Arial; min-height: 18.0px}
Hi,
We have created a BeTheme child on one of our customer websites
If we want to update the php version, we get this error message.
Warning: Use of undefined constant „wp_enqueque_scripts“ ….
Warning: Use of undefined constant „betheme_child_styles“ …
Warning: Cannot modify header information …
Does that mean that we did not properly create the child?
Or that we need an update / new purchase of the theme?
Thanks for your reply!
All the best
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 18.0px; font: 16.0px Arial; color: #212121; -webkit-text-stroke: #212121; background-color: #ffffff}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 18.0px; font: 16.0px Arial; color: #212121; -webkit-text-stroke: #212121; background-color: #ffffff; min-height: 18.0px}
span.s1 {font-kerning: none}
Comments
It could be related to not correct created child theme - but let's do it step by step.
1) Please switch to the parent theme and try to update the php version then - you won't lose any of your settings, so do not be worry about it.
2) When did you create the Child Theme?
Three or more weeks ago, we released the update to a child theme, and if you did it earlier or in a similar time, you would have to make some changes in the code of Child theme.
3) Of course, you don't have to buy a new theme.
You can reinstall your theme too, but all of your settings will not be lost because all of them are stored in the database.
Thanks