#1
I'm still following the Trongate Form Handling Mini Series p5 - Form Validation : Pipe Method. Clicking the submit button throws up the error: Fatal error: Uncaught Error: Class "valadation_helper" not found in F:\www\trongate_books\engine\Dynamic_properties.php:36 Stack trace: #0 F:\www\trongate_books\modules\books\controllers\Books.php(8): Trongate->__get('valadation_help...') #1 F:\www\trongate_books\engine\Core.php(303): Books->submit('') #2 F:\www\trongate_books\engine\Core.php(258): Core->invoke_controller_method() #3 F:\www\trongate_books\engine\Core.php(21): Core->serve_controller() #4 F:\www\trongate_books\public\index.php(5): Core->__construct() #5 {main} thrown in F:\www\trongate_books\engine\Dynamic_properties.php on line 36 Not an expert but tried looking at the file paths: they exists, I'm guessing its an environment issue (Using laragon). PHP 8.2, 8.1 and 8.0 all give this same error. php 7.4.30 give the error below Parse error: syntax error, unexpected '|', expecting '{' in F:\www\trongate_books\engine\tg_helpers\string_helper.php on line 42 I'm hoping to buid my first trongate app before this year end :)
#2
It looks to me like a simple typo - it should be "validation_helper" not "valadation_helper" :)
#3
Oh me!!! Thanks once again Dafa. Sorry to bother you with my lack of attention to details. It now works.

But please, one more thing, vsCode auto complete is not giving validation_helper as a hint after typing $this->
#4
You are welcome :)

Have you installed our VSCode extensions from https://marketplace.visualstudio.com/vscode? search 'trongate' and choose the 'red horse' to install all 3 (Trongate Scaffold, Trongate Specific Intellisense & A general PHP IntelliSense) or install each separately.

I noticed that I had to type '$this->val' before '$this->validation_helper' popped up for me.

Please also close this thread if you are satisfied that your questions have been answered.
#5
Extensions earlier install. Bless your heart. $this->val worked.