I have read now for hours about stopping warning messages, if I add
error_reporting(E_ERROR);
to the childtheme. I have done this after the opening tag as I read. It now looks like this
<?php
//*error_reporting(E_ERROR);
//* Start the engine
include_once( get_template_directory() . ‘/lib/init.php’ );
//* Setup Theme
include_once( get_stylesheet_directory() . ‘/lib/theme-defaults.php’ );
and all the other coding below. Press update file.
However it does not solve the problem of having people wanting to Sign Up and getting this warning message. The sign up works – as in it accepts the email, password and they have to go to the homepage and log in with the credentials they just created. So this part is working.
But why is the warning message still coming up? Have I not added the child theme correctly? I am running Wordfence and definitely want to leave it activated.
Help would be greatly appreciated.