Deprecated (8192) : Creation of dynamic property App\Controller\Component\LoadORTDComponent::$Origins is deprecated [in /var/www/html/Lexicon2/src/Controller/Component/LoadORTDComponent.php, line 11]
Deprecated (8192) : Creation of dynamic property App\Controller\Component\LoadORTDComponent::$Regions is deprecated [in /var/www/html/Lexicon2/src/Controller/Component/LoadORTDComponent.php, line 12]
Deprecated (8192) : Creation of dynamic property App\Controller\Component\LoadORTDComponent::$Types is deprecated [in /var/www/html/Lexicon2/src/Controller/Component/LoadORTDComponent.php, line 13]
Deprecated (8192) : Creation of dynamic property App\Controller\Component\LoadORTDComponent::$TypeCategories is deprecated [in /var/www/html/Lexicon2/src/Controller/Component/LoadORTDComponent.php, line 14]
Deprecated (8192) : Creation of dynamic property App\Controller\Component\LoadORTDComponent::$Dictionaries is deprecated [in /var/www/html/Lexicon2/src/Controller/Component/LoadORTDComponent.php, line 15]
Deprecated (8192) : Creation of dynamic property App\Controller\Component\LoadORTDComponent::$Words is deprecated [in /var/www/html/Lexicon2/src/Controller/Component/LoadORTDComponent.php, line 16]
Warning (2) : Undefined array key "use" [in /var/www/html/Lexicon2/src/Model/Table/WordsTable.php, line 259]
Warning (2) : Undefined array key "use" [in /var/www/html/Lexicon2/src/Model/Table/WordsTable.php, line 264]
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/html/Lexicon2/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /var/www/html/Lexicon2/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/Lexicon2/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/html/Lexicon2/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/Lexicon2/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/html/Lexicon2/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192]
Error: ucfirst(): Argument #1 ($string) must be of type string, null given

ucfirst(): Argument #1 ($string) must be of type string, null given 📋

TypeError
Error in: APP/Model/Table/WordsTable.php, line 264
APP/Model/Table/WordsTable.php at line 264 (edit)
                        'type' => 'LEFT',
                        'conditions' => 'Words.id = d.word_id']])
                ->where([$params, 
                         'language_id' => $langid])
                ->contain([ucfirst($pluralization[$ortdtype])])
                         ->distinct()
                ->order(['spelling' => 'ASC']);
        return $query;
    }