Deprecated (8192) : Creation of dynamic property App\Controller\AsobiController::$PlayCategories is deprecated [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line 29]
Deprecated (8192) : Creation of dynamic property App\Controller\AsobiController::$PlayArticles is deprecated [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line 30]
Deprecated (8192) : Creation of dynamic property App\Controller\AsobiController::$UserBookmarks is deprecated [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line 31]
Deprecated (8192) : Creation of dynamic property App\Controller\AsobiController::$PlayCategoryRelArticles is deprecated [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line 32]
Deprecated (8192) : Creation of dynamic property App\Controller\AsobiController::$PlayParentsCategories is deprecated [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line 33]
Deprecated (16384) : Since 5.0.0: Query::order() is deprecated. Use Query::orderBy() instead. /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line: 229 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `src/Controller/AsobiController.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Core/functions.php, line 377]
Deprecated (16384) : Since 5.0.0: Query::order() is deprecated. Use Query::orderBy() instead. /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line: 351 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `src/Controller/AsobiController.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Core/functions.php, line 377]
Deprecated (16384) : Since 5.0.0: Query::order() is deprecated. Use Query::orderBy() instead. /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line: 362 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `src/Controller/AsobiController.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Core/functions.php, line 377]
Deprecated (16384) : Since 5.0.0: Query::order() is deprecated. Use Query::orderBy() instead. /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line: 380 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `src/Controller/AsobiController.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Core/functions.php, line 377]
Deprecated (16384) : Since 5.0.0: Query::order() is deprecated. Use Query::orderBy() instead. /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line: 391 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `src/Controller/AsobiController.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Core/functions.php, line 377]
Deprecated (16384) : Since 5.0.0: Query::order() is deprecated. Use Query::orderBy() instead. /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line: 426 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `src/Controller/AsobiController.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Core/functions.php, line 377]
Warning (2) : compact(): Undefined variable $articles [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/AsobiController.php, line 576]
Deprecated (8192) : Facebook\FacebookApp implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/facebook/php-sdk-v4/src/Facebook/FacebookApp.php, line 28]
Deprecated (8192) : preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/ErrorController.php, line 67]
Deprecated (8192) : preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/src/Controller/ErrorController.php, line 67]
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 158]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/vhosts/flamboyant-wilbur.180-131-140-70.plesk.page/rp.flamboyant-wilbur.180-131-140-70.plesk.page/app5/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 191]
Error: count(): Argument #1 ($value) must be of type Countable|array, null given

count(): Argument #1 ($value) must be of type Countable|array, null given 📋

TypeError
Error in: ROOT/templates/Asobi/articles.php, line 64

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:


ROOT/templates/Asobi/articles.php at line 64 (edit)
    <?php if (!empty($allCategory) && end($allCategory)['ca_count'] != 0): ?>
    </div>
    <?php endif; ?>
</div>
<?php if (count($articles) > 0): ?>
    <div class="container-fluid bg-base-gray py-3">
        <div class="row">
            <div class="col-6">
                <?= preg_replace(

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