Notice (1024) : Undefined property `NouvellesController::$apiUrl` in `/home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/src/Controller/NouvellesController.php` on line 37 [in /home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/vendor/cakephp/cakephp/src/Controller/Controller.php, line 313]
Warning (2) : file_get_contents(getCommunique?id=346): Failed to open stream: No such file or directory [in /home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/src/Controller/NouvellesController.php, line 39]
Warning (512) : Unable to emit headers. Headers sent in file=/home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192]
Error: Cake\View\Helper\HtmlHelper::image(): Argument #1 ($path) must be of type array|string, null given, called in /home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/templates/Nouvelles/details.php on line 5

Cake\View\Helper\HtmlHelper::image(): Argument #1 ($path) must be of type array|string, null given, called in /home/rs5543/domains/ringuettesthyacinthe.com/public_html/dev2020/templates/Nouvelles/details.php on line 5 📋

TypeError
Error in: CORE/src/View/Helper/HtmlHelper.php, line 727
CORE/src/View/Helper/HtmlHelper.php at line 727 (edit)
     * @param array<string, mixed> $options Array of HTML attributes. See above for special options.
     * @return string completed img tag
     * @link https://book.cakephp.org/5/en/views/helpers/html.html#linking-to-images
     */
    public function image(array|string $path, array $options = []): string
    {
        if (is_string($path)) {
            $path = $this->Url->image($path, $options);
        } else {

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