I’ve solved the issue, it was because I called the class before creating it
require_once ( dirname( __FILE__ ) . '/sections/contact.php' );
require_once ( dirname( __FILE__ ) . '/controls/contact-form.php' );
I’ve solved the issue, it was because I called the class before creating it
require_once ( dirname( __FILE__ ) . '/sections/contact.php' );
require_once ( dirname( __FILE__ ) . '/controls/contact-form.php' );