Deprecated (8192): Return type of Cake\Collection\Iterator\MapReduce::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [CORE/src/Collection/Iterator/MapReduce.php, line 128]
Deprecated (8192): Cake\Datasource\ResultSetDecorator implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) [CORE/src/Datasource/ResultSetDecorator.php, line 24]
Deprecated (8192): Return type of Cake\Collection\Iterator\BufferedIterator::rewind() should either be compatible with IteratorIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [CORE/src/Collection/Iterator/BufferedIterator.php, line 108]
Deprecated (8192): Return type of Cake\Collection\Iterator\BufferedIterator::valid() should either be compatible with IteratorIterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [CORE/src/Collection/Iterator/BufferedIterator.php, line 125]
Deprecated (8192): Return type of Cake\Collection\Iterator\BufferedIterator::key() should either be compatible with IteratorIterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [CORE/src/Collection/Iterator/BufferedIterator.php, line 88]
Deprecated (8192): Return type of Cake\Collection\Iterator\BufferedIterator::current() should either be compatible with IteratorIterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [CORE/src/Collection/Iterator/BufferedIterator.php, line 98]
Deprecated (8192): Return type of Cake\Collection\Iterator\BufferedIterator::next() should either be compatible with IteratorIterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [CORE/src/Collection/Iterator/BufferedIterator.php, line 156]
Deprecated (8192): Cake\Collection\Iterator\BufferedIterator implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) [CORE/src/Collection/Iterator/BufferedIterator.php, line 26]
Deprecated (8192): Return type of Cake\Collection\Iterator\BufferedIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [CORE/src/Collection/Iterator/BufferedIterator.php, line 170]
Deprecated (8192): Creation of dynamic property App\Controller\ErrorController::$RequestHandler is deprecated [CORE/src/Controller/Controller.php, line 438]
Deprecated (8192): Creation of dynamic property App\View\AppView::$Date is deprecated [CORE/src/View/View.php, line 1338]
Deprecated (8192): Creation of dynamic property App\View\AppView::$Date is deprecated [CORE/src/View/View.php, line 1338]
Warning (512): Unable to emit headers. Headers sent in file=/var/www/html/ul-web/vendor/cakephp/cakephp/src/Error/Debugger.php line=856 [CORE/src/Http/ResponseEmitter.php, line 51]
Deprecated (8192): Creation of dynamic property App\View\AppView::$Html is deprecated [CORE/src/View/View.php, line 1338]
Error: Call to a member function emailUser() on bool
Deprecated (8192): Creation of dynamic property App\View\AppView::$Url is deprecated [CORE/src/View/View.php, line 1338]
Deprecated (8192): Creation of dynamic property Cake\View\Helper\HtmlHelper::$Url is deprecated [CORE/src/View/Helper.php, line 207]

Call to a member function emailUser() on bool Error

Documentation API
Error in: ROOT/src/Controller/PostsController.php, line 667

Could this be caused by using Auto-Tables?

Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.

This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:


Please try correcting the issue for the following table aliases:


If you want to customize this error message, create src/Template/Error/error500.ctp

toggle vendor stack frames