Notice (8): Trying to get property 'id' of non-object [APP/Controller/ProductsController.php, line 47]
Notice (8): Trying to get property 'colors' of non-object [APP/Controller/ProductsController.php, line 95]
Warning (2): Creating default object from empty value [APP/Controller/ProductsController.php, line 95]
Notice (8): Undefined property: stdClass::$name [APP/Controller/ProductsController.php, line 102]
Notice (8): Undefined property: stdClass::$seo_keywords [APP/Controller/ProductsController.php, line 103]
Notice (8): Undefined property: stdClass::$description [APP/Controller/ProductsController.php, line 104]
Notice (8): Undefined property: stdClass::$name [APP/Controller/ProductsController.php, line 108]
Notice (8): Undefined property: stdClass::$description [APP/Controller/ProductsController.php, line 109]
Notice (8): Undefined property: stdClass::$img [APP/Controller/ProductsController.php, line 112]
Notice (8): Undefined property: stdClass::$id [APP/Controller/ProductsController.php, line 121]
Notice (8): Undefined property: stdClass::$id [APP/Controller/ProductsController.php, line 127]
  • Home
  • Warning (512): Unable to emit headers. Headers sent in file=/home/juliatb/www/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 51]
    Warning (2): Cannot modify header information - headers already sent by (output started at /home/juliatb/www/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 152]
    Warning (2): Cannot modify header information - headers already sent by (output started at /home/juliatb/www/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 181]
    Error: Call to undefined method stdClass::has()

    Call to undefined method stdClass::has() Error

    Error in: ROOT/src/Template/Products/view.ctp, line 16

    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:

    • The class for the specified table does not exist.
    • The Table was created with a typo: $this->getTableLocator()->get('Atricles');
    • The class file has a typo in the name or incorrect namespace: class Atricles extends Table
    • The file containing the class has a typo or incorrect casing: Atricles.php
    • The Table was used using associations but the association has a typo: $this->belongsTo('Atricles')
    • The table class resides in a Plugin but no plugin notation was used in the association definition.

    Please try correcting the issue for the following table aliases:

    • I18n
    • Pages_slug_translation
    • Pages_title_translation
    • Pages_body_translation
    • Pages_seo_title_translation
    • Pages_seo_keywords_translation
    • Pages_seo_description_translation
    • Pages_video_url_translation
    • Categories_google_category_translation
    • Categories_slug_translation
    • Categories_old_slug_translation
    • Categories_name_translation
    • Categories_title_translation
    • Categories_body_translation
    • Categories_description_translation
    • Categories_seo_title_translation
    • Categories_seo_keywords_translation
    • Categories_seo_description_translation
    • ParentCategories_google_category_translation
    • ParentCategories_slug_translation
    • ParentCategories_old_slug_translation
    • ParentCategories_name_translation
    • ParentCategories_title_translation
    • ParentCategories_body_translation
    • ParentCategories_description_translation
    • ParentCategories_seo_title_translation
    • ParentCategories_seo_keywords_translation
    • ParentCategories_seo_description_translation
    • PaymentMethods_name_translation
    • PaymentMethods_msg_translation
    • Products_slug_translation
    • Products_name_translation
    • Products_body_translation
    • Products_description_translation
    • Products_seo_title_translation
    • Products_seo_keywords_translation
    • Products_seo_description_translation
    • Images_title_translation
    • Images_alt_translation
    • Images_subtitle_translation
    • Images_description_translation
    • Childs_slug_translation
    • Childs_name_translation
    • Childs_body_translation
    • Childs_description_translation
    • Childs_seo_title_translation
    • Childs_seo_keywords_translation
    • Childs_seo_description_translation
    • Colors_name_translation
    • Colors_slug_translation

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

    toggle vendor stack frames