Notice (8): Undefined offset: 0 [APP/Controller/MainAppController.php, line 711]
Warning (2): Invalid argument supplied for foreach() [APP/Controller/MainAppController.php, line 711]
Notice (8): Undefined offset: 0 [APP/Controller/MainAppController.php, line 730]
Notice (8): Undefined offset: 0 [APP/Controller/MainAppController.php, line 731]
Notice (8): Undefined offset: 0 [APP/Controller/MainAppController.php, line 738]
Warning (2): Illegal string offset 'category_maps' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 13]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 13]
Warning (2): Invalid argument supplied for foreach() [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 13]
Warning (2): Illegal string offset 'product' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 45]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 45]
Warning (2): Illegal string offset 'product' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 47]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 47]
Warning (2): Illegal string offset 'price' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 47]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 47]
Warning (2): Illegal string offset 'catalog_piece' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 47]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 47]
Warning (2): Illegal string offset 'seo_keyword' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 48]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 48]
Warning (2): Illegal string offset 'product' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 49]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 49]
Warning (2): Illegal string offset 'product' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 52]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 52]
Warning (2): Illegal string offset 'price' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 52]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 52]
Warning (2): Illegal string offset 'catalog_piece' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 52]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 52]
Warning (2): Illegal string offset 'description2' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 53]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 53]

Warning (2): Illegal string offset 'product' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 126]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 126]

Buy

Warning (2): Illegal string offset 'product' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 127]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 127]
design catalog online at wholesale rate. Full catalog price is
Warning (2): Illegal string offset 'price' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 127]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 127]
Warning (2): A non-numeric value encountered [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 127]
INR 0 and has total
Warning (2): Illegal string offset 'catalog_piece' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 127]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 127]
design.

Warning (2): Illegal string offset 'catalog_name' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 145]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 145]
Warning (2): Illegal string offset 'product_attributes' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 177]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 177]
Warning (2): Illegal string offset 'product_attributes' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 178]
Warning (512): Unable to emit headers. Headers sent in file=/var/www/html/cottonduniya/site/vendor/cakephp/cakephp/src/Error/Debugger.php line=856 [CORE/src/Http/ResponseEmitter.php, line 51]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/cottonduniya/site/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 152]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/cottonduniya/site/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 185]
Error: Only variables can be passed by reference

Only variables can be passed by reference Error

Catalog No
Warning (2): Illegal string offset 'sku' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 133]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 133]
Per Piece Price
Warning (2): Illegal string offset 'price' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 138]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 138]
Warning (2): Illegal string offset 'catalog_piece' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 138]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 138]
Warning (2): A non-numeric value encountered [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 138]
Warning (2): A non-numeric value encountered [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 138]
Warning (2): Division by zero [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 138]
INR NAN
Full Catalog Price
Warning (2): Illegal string offset 'price' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 143]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 143]
Warning (2): A non-numeric value encountered [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 143]
INR 0
Total Design
Warning (2): Illegal string offset 'catalog_piece' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 153]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 153]
Weight
Warning (2): Illegal string offset 'weight' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 157]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 157]
KG
MOQ Minimum
Warning (2): Illegal string offset 'catalog_piece' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 161]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 161]
Pcs
Fabric
Warning (2): Illegal string offset 'description' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 165]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 165]
Gst
Warning (2): Illegal string offset 'gst_rate' [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 169]
Notice (8): Uninitialized string offset: 0 [ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 169]
% Extra
    {
        extract($dataForView);
        ob_start();
        include func_get_arg(0);
        return ob_get_clean();
    }
Error in: ROOT/plugins/HomeTheme/src/Template/MainApp/catalog.ctp, line 178

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:

  • CategoryBanners
  • ChartObjects

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