Notice (8) : Trying to get property of non-object [APP/Controller/HomeController.php , line 386 ]Code Context $obj = json_decode ( $content );
$items =array();
foreach( $obj -> graphql -> user -> edge_owner_to_timeline_media -> edges as $key => $value ){
$marca = array(
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Catalogo' => array(
(int) 0 => array(
'id' => '7',
'name' => 'Baleros',
'brand_id' => '3',
'image' => 'BALEROS 2023-03.jpg',
'carpeta' => 'ba',
'created' => '2019-08-29 17:40:16',
'modified' => '2023-05-20 02:12:03',
'pdf' => 'baleros.pdf',
'epub' => 'baleros.epub',
'mobi' => 'baleros.mobi',
'web' => 'baleros/index.html'
)
),
'Category' => array(
(int) 0 => array(
'id' => '1',
'parent_id' => null,
'lft' => '1',
'rght' => '60',
'name' => 'BALEROS',
'code' => 'BA',
'imagen' => 'BALEROS1.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-10-09',
'jerarquia' => 'GIB-BA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 1 => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 2 => array(
'id' => '3',
'parent_id' => '2',
'lft' => '3',
'rght' => '4',
'name' => 'RETENES PARA ACEITE',
'code' => 'RET',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_RETENES PARA ACEITE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-RET',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 3 => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 4 => array(
'id' => '5',
'parent_id' => '4',
'lft' => '13',
'rght' => '14',
'name' => 'RODAMIENTOS DE BOLA',
'code' => 'ROD',
'imagen' => 'RODAMIENTOS DE BOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-ROD',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 5 => array(
'id' => '6',
'parent_id' => '4',
'lft' => '15',
'rght' => '16',
'name' => 'RODAMIENTOS AUTOMOTRICES',
'code' => 'RAU',
'imagen' => 'RODAMIENTOS AUTOMOTRICES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 6 => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 7 => array(
'id' => '8',
'parent_id' => '7',
'lft' => '39',
'rght' => '40',
'name' => 'COPLES',
'code' => 'COP',
'imagen' => 'COPLES_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-COP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 8 => array(
'id' => '9',
'parent_id' => '7',
'lft' => '41',
'rght' => '42',
'name' => 'ELEMENTO PARA COPLE',
'code' => 'ELE',
'imagen' => 'SELLADO_ELEMENTO PARA COPLE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ELE',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 9 => array(
'id' => '10',
'parent_id' => '4',
'lft' => '17',
'rght' => '18',
'name' => 'CHUMACERAS',
'code' => 'CHU',
'imagen' => 'CHUMACERAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CHU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 10 => array(
'id' => '11',
'parent_id' => '4',
'lft' => '19',
'rght' => '20',
'name' => 'RODAMIENTO AGRÍCOLA',
'code' => 'RAG',
'imagen' => 'RODAMIENTO AGRÍCOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAG',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 11 => array(
'id' => '12',
'parent_id' => '4',
'lft' => '21',
'rght' => '22',
'name' => 'RODAMIENTO AGUJA',
'code' => 'RAJ',
'imagen' => 'RODAMIENTO AGUJA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAJ',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 12 => array(
'id' => '13',
'parent_id' => '4',
'lft' => '23',
'rght' => '24',
'name' => 'CABEZA DE RÓTULA',
'code' => 'CAB',
'imagen' => 'CABEZA DE RÓTULA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CAB',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 13 => array(
'id' => '112',
'parent_id' => '4',
'lft' => '25',
'rght' => '26',
'name' => 'BOLAS DE ACERO',
'code' => 'BOL',
'imagen' => 'BOLAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BOL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 14 => array(
'id' => '115',
'parent_id' => '4',
'lft' => '27',
'rght' => '28',
'name' => 'BALERO PARA MINIATURA',
'code' => 'BPM',
'imagen' => 'BALERO PARA MINIATURA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BPM',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 15 => array(
'id' => '116',
'parent_id' => '7',
'lft' => '43',
'rght' => '44',
'name' => 'BANDAS INDUSTRIALES',
'code' => 'BAN',
'imagen' => 'BANDAS INDUSTRIALES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-BAN',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 16 => array(
'id' => '183',
'parent_id' => '7',
'lft' => '45',
'rght' => '46',
'name' => 'CADENAS',
'code' => 'CAD',
'imagen' => 'CADENAS_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-CAD',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 17 => array(
'id' => '211',
'parent_id' => '7',
'lft' => '47',
'rght' => '48',
'name' => 'CATARINAS',
'code' => 'CAT',
'imagen' => 'SELLADO_CATARINAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 18 => array(
'id' => '303',
'parent_id' => '7',
'lft' => '49',
'rght' => '50',
'name' => 'CUÑAS',
'code' => 'CUÑ',
'imagen' => 'CUÑAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CUÑ',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 19 => array(
'id' => '447',
'parent_id' => '7',
'lft' => '51',
'rght' => '52',
'name' => 'GRAPAS DE ACERO',
'code' => 'GRA',
'imagen' => 'GRAPAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GRA',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 20 => array(
'id' => '448',
'parent_id' => '7',
'lft' => '53',
'rght' => '54',
'name' => 'GRAPAS DE ALAMBRE',
'code' => 'GDA',
'imagen' => 'GRAPAS DE ALAMBRE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GDA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 21 => array(
'id' => '624',
'parent_id' => '7',
'lft' => '55',
'rght' => '56',
'name' => 'POLEAS DE ALUMINIO',
'code' => 'POL',
'imagen' => 'poleas1.jpeg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-POL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 22 => array(
'id' => '688',
'parent_id' => '4',
'lft' => '29',
'rght' => '30',
'name' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ',
'code' => 'SEL',
'imagen' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-SEL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 23 => array(
'id' => '689',
'parent_id' => '2',
'lft' => '9',
'rght' => '10',
'name' => 'SELLOS O´RING',
'code' => 'SOR',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_SELLOS O´RING.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-SOR',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 24 => array(
'id' => '1980',
'parent_id' => '7',
'lft' => '57',
'rght' => '58',
'name' => 'ESALBONES',
'code' => 'ESL',
'imagen' => 'ESALBONES.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ESL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 25 => array(
'id' => '2067',
'parent_id' => null,
'lft' => '4645',
'rght' => '4652',
'name' => 'MARKETING',
'code' => 'MK',
'imagen' => 'MTK_BALEROS_MARKETING-01.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 26 => array(
'id' => '2068',
'parent_id' => '2067',
'lft' => '4646',
'rght' => '4651',
'name' => 'MERCADEO',
'code' => 'MER',
'imagen' => 'MTK_BALEROS_ MERCADEO-02.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 27 => array(
'id' => '2069',
'parent_id' => '2068',
'lft' => '4647',
'rght' => '4648',
'name' => 'CATALOGOS',
'code' => 'CAT',
'imagen' => 'MTK_BALEROS_CATALOGOS-03.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 28 => array(
'id' => '2260',
'parent_id' => '2068',
'lft' => '4649',
'rght' => '4650',
'name' => 'MATERIAL POP',
'code' => 'POP',
'imagen' => '',
'brand_id' => '3',
'created' => '2021-03-09',
'modified' => '2021-03-09',
'jerarquia' => 'GIB-MK-MER-POP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 29 => array(
'id' => '2468',
'parent_id' => '4',
'lft' => '31',
'rght' => '32',
'name' => 'SLAVIA',
'code' => 'SLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-SLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 30 => array(
'id' => '2469',
'parent_id' => '4',
'lft' => '33',
'rght' => '34',
'name' => 'CARRETILLA',
'code' => 'CAR',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-CAR',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 31 => array(
'id' => '2470',
'parent_id' => '4',
'lft' => '35',
'rght' => '36',
'name' => 'RODILLO',
'code' => 'RLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-RLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
)
)
)
$cats = array(
(int) 0 => array(
'Category' => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 1 => array(
'Category' => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 2 => array(
'Category' => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
)
)
$url = 'https://www.instagram.com/gimbaleros?__a=1'
$content = 'for (;;);{"redirect":"https:\/\/www.instagram.com\/gimbaleros\/"}'
$obj = null
$items = array()
$http_response_header = array(
(int) 0 => 'HTTP/1.1 200 OK',
(int) 1 => 'Vary: Accept-Encoding',
(int) 2 => 'Content-Type: application/x-javascript; charset=utf-8',
(int) 3 => 'cross-origin-resource-policy: cross-origin',
(int) 4 => 'Pragma: no-cache',
(int) 5 => 'Cache-Control: private, no-cache, no-store, must-revalidate',
(int) 6 => 'Expires: Sat, 01 Jan 2000 00:00:00 GMT',
(int) 7 => 'X-Content-Type-Options: nosniff',
(int) 8 => 'X-Frame-Options: DENY',
(int) 9 => 'Strict-Transport-Security: max-age=31536000; preload; includeSubDomains',
(int) 10 => 'x-stack: www',
(int) 11 => 'X-FB-Debug: Vpms+7fd0Ur3Sp22PInFH6SIWBFAAB19ZuBXTtrGjnrWmBWaX2DDKxgpeVy/Ies95i/B4nImfEAxmNR0kMsquw==',
(int) 12 => 'Date: Sat, 12 Oct 2024 16:34:25 GMT',
(int) 13 => 'Alt-Svc: h3=":443"; ma=86400',
(int) 14 => 'Connection: close'
) HomeController::gimbaleros() - APP/Controller/HomeController.php, line 386
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117 Notice (8) : Trying to get property of non-object [APP/Controller/HomeController.php , line 386 ]Code Context $obj = json_decode ( $content );
$items =array();
foreach( $obj -> graphql -> user -> edge_owner_to_timeline_media -> edges as $key => $value ){
$marca = array(
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Catalogo' => array(
(int) 0 => array(
'id' => '7',
'name' => 'Baleros',
'brand_id' => '3',
'image' => 'BALEROS 2023-03.jpg',
'carpeta' => 'ba',
'created' => '2019-08-29 17:40:16',
'modified' => '2023-05-20 02:12:03',
'pdf' => 'baleros.pdf',
'epub' => 'baleros.epub',
'mobi' => 'baleros.mobi',
'web' => 'baleros/index.html'
)
),
'Category' => array(
(int) 0 => array(
'id' => '1',
'parent_id' => null,
'lft' => '1',
'rght' => '60',
'name' => 'BALEROS',
'code' => 'BA',
'imagen' => 'BALEROS1.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-10-09',
'jerarquia' => 'GIB-BA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 1 => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 2 => array(
'id' => '3',
'parent_id' => '2',
'lft' => '3',
'rght' => '4',
'name' => 'RETENES PARA ACEITE',
'code' => 'RET',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_RETENES PARA ACEITE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-RET',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 3 => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 4 => array(
'id' => '5',
'parent_id' => '4',
'lft' => '13',
'rght' => '14',
'name' => 'RODAMIENTOS DE BOLA',
'code' => 'ROD',
'imagen' => 'RODAMIENTOS DE BOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-ROD',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 5 => array(
'id' => '6',
'parent_id' => '4',
'lft' => '15',
'rght' => '16',
'name' => 'RODAMIENTOS AUTOMOTRICES',
'code' => 'RAU',
'imagen' => 'RODAMIENTOS AUTOMOTRICES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 6 => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 7 => array(
'id' => '8',
'parent_id' => '7',
'lft' => '39',
'rght' => '40',
'name' => 'COPLES',
'code' => 'COP',
'imagen' => 'COPLES_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-COP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 8 => array(
'id' => '9',
'parent_id' => '7',
'lft' => '41',
'rght' => '42',
'name' => 'ELEMENTO PARA COPLE',
'code' => 'ELE',
'imagen' => 'SELLADO_ELEMENTO PARA COPLE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ELE',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 9 => array(
'id' => '10',
'parent_id' => '4',
'lft' => '17',
'rght' => '18',
'name' => 'CHUMACERAS',
'code' => 'CHU',
'imagen' => 'CHUMACERAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CHU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 10 => array(
'id' => '11',
'parent_id' => '4',
'lft' => '19',
'rght' => '20',
'name' => 'RODAMIENTO AGRÍCOLA',
'code' => 'RAG',
'imagen' => 'RODAMIENTO AGRÍCOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAG',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 11 => array(
'id' => '12',
'parent_id' => '4',
'lft' => '21',
'rght' => '22',
'name' => 'RODAMIENTO AGUJA',
'code' => 'RAJ',
'imagen' => 'RODAMIENTO AGUJA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAJ',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 12 => array(
'id' => '13',
'parent_id' => '4',
'lft' => '23',
'rght' => '24',
'name' => 'CABEZA DE RÓTULA',
'code' => 'CAB',
'imagen' => 'CABEZA DE RÓTULA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CAB',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 13 => array(
'id' => '112',
'parent_id' => '4',
'lft' => '25',
'rght' => '26',
'name' => 'BOLAS DE ACERO',
'code' => 'BOL',
'imagen' => 'BOLAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BOL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 14 => array(
'id' => '115',
'parent_id' => '4',
'lft' => '27',
'rght' => '28',
'name' => 'BALERO PARA MINIATURA',
'code' => 'BPM',
'imagen' => 'BALERO PARA MINIATURA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BPM',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 15 => array(
'id' => '116',
'parent_id' => '7',
'lft' => '43',
'rght' => '44',
'name' => 'BANDAS INDUSTRIALES',
'code' => 'BAN',
'imagen' => 'BANDAS INDUSTRIALES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-BAN',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 16 => array(
'id' => '183',
'parent_id' => '7',
'lft' => '45',
'rght' => '46',
'name' => 'CADENAS',
'code' => 'CAD',
'imagen' => 'CADENAS_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-CAD',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 17 => array(
'id' => '211',
'parent_id' => '7',
'lft' => '47',
'rght' => '48',
'name' => 'CATARINAS',
'code' => 'CAT',
'imagen' => 'SELLADO_CATARINAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 18 => array(
'id' => '303',
'parent_id' => '7',
'lft' => '49',
'rght' => '50',
'name' => 'CUÑAS',
'code' => 'CUÑ',
'imagen' => 'CUÑAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CUÑ',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 19 => array(
'id' => '447',
'parent_id' => '7',
'lft' => '51',
'rght' => '52',
'name' => 'GRAPAS DE ACERO',
'code' => 'GRA',
'imagen' => 'GRAPAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GRA',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 20 => array(
'id' => '448',
'parent_id' => '7',
'lft' => '53',
'rght' => '54',
'name' => 'GRAPAS DE ALAMBRE',
'code' => 'GDA',
'imagen' => 'GRAPAS DE ALAMBRE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GDA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 21 => array(
'id' => '624',
'parent_id' => '7',
'lft' => '55',
'rght' => '56',
'name' => 'POLEAS DE ALUMINIO',
'code' => 'POL',
'imagen' => 'poleas1.jpeg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-POL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 22 => array(
'id' => '688',
'parent_id' => '4',
'lft' => '29',
'rght' => '30',
'name' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ',
'code' => 'SEL',
'imagen' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-SEL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 23 => array(
'id' => '689',
'parent_id' => '2',
'lft' => '9',
'rght' => '10',
'name' => 'SELLOS O´RING',
'code' => 'SOR',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_SELLOS O´RING.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-SOR',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 24 => array(
'id' => '1980',
'parent_id' => '7',
'lft' => '57',
'rght' => '58',
'name' => 'ESALBONES',
'code' => 'ESL',
'imagen' => 'ESALBONES.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ESL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 25 => array(
'id' => '2067',
'parent_id' => null,
'lft' => '4645',
'rght' => '4652',
'name' => 'MARKETING',
'code' => 'MK',
'imagen' => 'MTK_BALEROS_MARKETING-01.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 26 => array(
'id' => '2068',
'parent_id' => '2067',
'lft' => '4646',
'rght' => '4651',
'name' => 'MERCADEO',
'code' => 'MER',
'imagen' => 'MTK_BALEROS_ MERCADEO-02.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 27 => array(
'id' => '2069',
'parent_id' => '2068',
'lft' => '4647',
'rght' => '4648',
'name' => 'CATALOGOS',
'code' => 'CAT',
'imagen' => 'MTK_BALEROS_CATALOGOS-03.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 28 => array(
'id' => '2260',
'parent_id' => '2068',
'lft' => '4649',
'rght' => '4650',
'name' => 'MATERIAL POP',
'code' => 'POP',
'imagen' => '',
'brand_id' => '3',
'created' => '2021-03-09',
'modified' => '2021-03-09',
'jerarquia' => 'GIB-MK-MER-POP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 29 => array(
'id' => '2468',
'parent_id' => '4',
'lft' => '31',
'rght' => '32',
'name' => 'SLAVIA',
'code' => 'SLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-SLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 30 => array(
'id' => '2469',
'parent_id' => '4',
'lft' => '33',
'rght' => '34',
'name' => 'CARRETILLA',
'code' => 'CAR',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-CAR',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 31 => array(
'id' => '2470',
'parent_id' => '4',
'lft' => '35',
'rght' => '36',
'name' => 'RODILLO',
'code' => 'RLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-RLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
)
)
)
$cats = array(
(int) 0 => array(
'Category' => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 1 => array(
'Category' => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 2 => array(
'Category' => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
)
)
$url = 'https://www.instagram.com/gimbaleros?__a=1'
$content = 'for (;;);{"redirect":"https:\/\/www.instagram.com\/gimbaleros\/"}'
$obj = null
$items = array()
$http_response_header = array(
(int) 0 => 'HTTP/1.1 200 OK',
(int) 1 => 'Vary: Accept-Encoding',
(int) 2 => 'Content-Type: application/x-javascript; charset=utf-8',
(int) 3 => 'cross-origin-resource-policy: cross-origin',
(int) 4 => 'Pragma: no-cache',
(int) 5 => 'Cache-Control: private, no-cache, no-store, must-revalidate',
(int) 6 => 'Expires: Sat, 01 Jan 2000 00:00:00 GMT',
(int) 7 => 'X-Content-Type-Options: nosniff',
(int) 8 => 'X-Frame-Options: DENY',
(int) 9 => 'Strict-Transport-Security: max-age=31536000; preload; includeSubDomains',
(int) 10 => 'x-stack: www',
(int) 11 => 'X-FB-Debug: Vpms+7fd0Ur3Sp22PInFH6SIWBFAAB19ZuBXTtrGjnrWmBWaX2DDKxgpeVy/Ies95i/B4nImfEAxmNR0kMsquw==',
(int) 12 => 'Date: Sat, 12 Oct 2024 16:34:25 GMT',
(int) 13 => 'Alt-Svc: h3=":443"; ma=86400',
(int) 14 => 'Connection: close'
) HomeController::gimbaleros() - APP/Controller/HomeController.php, line 386
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117 Notice (8) : Trying to get property of non-object [APP/Controller/HomeController.php , line 386 ]Code Context $obj = json_decode ( $content );
$items =array();
foreach( $obj -> graphql -> user -> edge_owner_to_timeline_media -> edges as $key => $value ){
$marca = array(
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Catalogo' => array(
(int) 0 => array(
'id' => '7',
'name' => 'Baleros',
'brand_id' => '3',
'image' => 'BALEROS 2023-03.jpg',
'carpeta' => 'ba',
'created' => '2019-08-29 17:40:16',
'modified' => '2023-05-20 02:12:03',
'pdf' => 'baleros.pdf',
'epub' => 'baleros.epub',
'mobi' => 'baleros.mobi',
'web' => 'baleros/index.html'
)
),
'Category' => array(
(int) 0 => array(
'id' => '1',
'parent_id' => null,
'lft' => '1',
'rght' => '60',
'name' => 'BALEROS',
'code' => 'BA',
'imagen' => 'BALEROS1.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-10-09',
'jerarquia' => 'GIB-BA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 1 => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 2 => array(
'id' => '3',
'parent_id' => '2',
'lft' => '3',
'rght' => '4',
'name' => 'RETENES PARA ACEITE',
'code' => 'RET',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_RETENES PARA ACEITE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-RET',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 3 => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 4 => array(
'id' => '5',
'parent_id' => '4',
'lft' => '13',
'rght' => '14',
'name' => 'RODAMIENTOS DE BOLA',
'code' => 'ROD',
'imagen' => 'RODAMIENTOS DE BOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-ROD',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 5 => array(
'id' => '6',
'parent_id' => '4',
'lft' => '15',
'rght' => '16',
'name' => 'RODAMIENTOS AUTOMOTRICES',
'code' => 'RAU',
'imagen' => 'RODAMIENTOS AUTOMOTRICES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 6 => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 7 => array(
'id' => '8',
'parent_id' => '7',
'lft' => '39',
'rght' => '40',
'name' => 'COPLES',
'code' => 'COP',
'imagen' => 'COPLES_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-COP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 8 => array(
'id' => '9',
'parent_id' => '7',
'lft' => '41',
'rght' => '42',
'name' => 'ELEMENTO PARA COPLE',
'code' => 'ELE',
'imagen' => 'SELLADO_ELEMENTO PARA COPLE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ELE',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 9 => array(
'id' => '10',
'parent_id' => '4',
'lft' => '17',
'rght' => '18',
'name' => 'CHUMACERAS',
'code' => 'CHU',
'imagen' => 'CHUMACERAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CHU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 10 => array(
'id' => '11',
'parent_id' => '4',
'lft' => '19',
'rght' => '20',
'name' => 'RODAMIENTO AGRÍCOLA',
'code' => 'RAG',
'imagen' => 'RODAMIENTO AGRÍCOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAG',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 11 => array(
'id' => '12',
'parent_id' => '4',
'lft' => '21',
'rght' => '22',
'name' => 'RODAMIENTO AGUJA',
'code' => 'RAJ',
'imagen' => 'RODAMIENTO AGUJA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAJ',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 12 => array(
'id' => '13',
'parent_id' => '4',
'lft' => '23',
'rght' => '24',
'name' => 'CABEZA DE RÓTULA',
'code' => 'CAB',
'imagen' => 'CABEZA DE RÓTULA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CAB',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 13 => array(
'id' => '112',
'parent_id' => '4',
'lft' => '25',
'rght' => '26',
'name' => 'BOLAS DE ACERO',
'code' => 'BOL',
'imagen' => 'BOLAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BOL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 14 => array(
'id' => '115',
'parent_id' => '4',
'lft' => '27',
'rght' => '28',
'name' => 'BALERO PARA MINIATURA',
'code' => 'BPM',
'imagen' => 'BALERO PARA MINIATURA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BPM',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 15 => array(
'id' => '116',
'parent_id' => '7',
'lft' => '43',
'rght' => '44',
'name' => 'BANDAS INDUSTRIALES',
'code' => 'BAN',
'imagen' => 'BANDAS INDUSTRIALES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-BAN',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 16 => array(
'id' => '183',
'parent_id' => '7',
'lft' => '45',
'rght' => '46',
'name' => 'CADENAS',
'code' => 'CAD',
'imagen' => 'CADENAS_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-CAD',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 17 => array(
'id' => '211',
'parent_id' => '7',
'lft' => '47',
'rght' => '48',
'name' => 'CATARINAS',
'code' => 'CAT',
'imagen' => 'SELLADO_CATARINAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 18 => array(
'id' => '303',
'parent_id' => '7',
'lft' => '49',
'rght' => '50',
'name' => 'CUÑAS',
'code' => 'CUÑ',
'imagen' => 'CUÑAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CUÑ',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 19 => array(
'id' => '447',
'parent_id' => '7',
'lft' => '51',
'rght' => '52',
'name' => 'GRAPAS DE ACERO',
'code' => 'GRA',
'imagen' => 'GRAPAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GRA',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 20 => array(
'id' => '448',
'parent_id' => '7',
'lft' => '53',
'rght' => '54',
'name' => 'GRAPAS DE ALAMBRE',
'code' => 'GDA',
'imagen' => 'GRAPAS DE ALAMBRE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GDA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 21 => array(
'id' => '624',
'parent_id' => '7',
'lft' => '55',
'rght' => '56',
'name' => 'POLEAS DE ALUMINIO',
'code' => 'POL',
'imagen' => 'poleas1.jpeg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-POL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 22 => array(
'id' => '688',
'parent_id' => '4',
'lft' => '29',
'rght' => '30',
'name' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ',
'code' => 'SEL',
'imagen' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-SEL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 23 => array(
'id' => '689',
'parent_id' => '2',
'lft' => '9',
'rght' => '10',
'name' => 'SELLOS O´RING',
'code' => 'SOR',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_SELLOS O´RING.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-SOR',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 24 => array(
'id' => '1980',
'parent_id' => '7',
'lft' => '57',
'rght' => '58',
'name' => 'ESALBONES',
'code' => 'ESL',
'imagen' => 'ESALBONES.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ESL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 25 => array(
'id' => '2067',
'parent_id' => null,
'lft' => '4645',
'rght' => '4652',
'name' => 'MARKETING',
'code' => 'MK',
'imagen' => 'MTK_BALEROS_MARKETING-01.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 26 => array(
'id' => '2068',
'parent_id' => '2067',
'lft' => '4646',
'rght' => '4651',
'name' => 'MERCADEO',
'code' => 'MER',
'imagen' => 'MTK_BALEROS_ MERCADEO-02.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 27 => array(
'id' => '2069',
'parent_id' => '2068',
'lft' => '4647',
'rght' => '4648',
'name' => 'CATALOGOS',
'code' => 'CAT',
'imagen' => 'MTK_BALEROS_CATALOGOS-03.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 28 => array(
'id' => '2260',
'parent_id' => '2068',
'lft' => '4649',
'rght' => '4650',
'name' => 'MATERIAL POP',
'code' => 'POP',
'imagen' => '',
'brand_id' => '3',
'created' => '2021-03-09',
'modified' => '2021-03-09',
'jerarquia' => 'GIB-MK-MER-POP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 29 => array(
'id' => '2468',
'parent_id' => '4',
'lft' => '31',
'rght' => '32',
'name' => 'SLAVIA',
'code' => 'SLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-SLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 30 => array(
'id' => '2469',
'parent_id' => '4',
'lft' => '33',
'rght' => '34',
'name' => 'CARRETILLA',
'code' => 'CAR',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-CAR',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 31 => array(
'id' => '2470',
'parent_id' => '4',
'lft' => '35',
'rght' => '36',
'name' => 'RODILLO',
'code' => 'RLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-RLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
)
)
)
$cats = array(
(int) 0 => array(
'Category' => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 1 => array(
'Category' => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 2 => array(
'Category' => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
)
)
$url = 'https://www.instagram.com/gimbaleros?__a=1'
$content = 'for (;;);{"redirect":"https:\/\/www.instagram.com\/gimbaleros\/"}'
$obj = null
$items = array()
$http_response_header = array(
(int) 0 => 'HTTP/1.1 200 OK',
(int) 1 => 'Vary: Accept-Encoding',
(int) 2 => 'Content-Type: application/x-javascript; charset=utf-8',
(int) 3 => 'cross-origin-resource-policy: cross-origin',
(int) 4 => 'Pragma: no-cache',
(int) 5 => 'Cache-Control: private, no-cache, no-store, must-revalidate',
(int) 6 => 'Expires: Sat, 01 Jan 2000 00:00:00 GMT',
(int) 7 => 'X-Content-Type-Options: nosniff',
(int) 8 => 'X-Frame-Options: DENY',
(int) 9 => 'Strict-Transport-Security: max-age=31536000; preload; includeSubDomains',
(int) 10 => 'x-stack: www',
(int) 11 => 'X-FB-Debug: Vpms+7fd0Ur3Sp22PInFH6SIWBFAAB19ZuBXTtrGjnrWmBWaX2DDKxgpeVy/Ies95i/B4nImfEAxmNR0kMsquw==',
(int) 12 => 'Date: Sat, 12 Oct 2024 16:34:25 GMT',
(int) 13 => 'Alt-Svc: h3=":443"; ma=86400',
(int) 14 => 'Connection: close'
) HomeController::gimbaleros() - APP/Controller/HomeController.php, line 386
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117 Notice (8) : Trying to get property of non-object [APP/Controller/HomeController.php , line 386 ]Code Context $obj = json_decode ( $content );
$items =array();
foreach( $obj -> graphql -> user -> edge_owner_to_timeline_media -> edges as $key => $value ){
$marca = array(
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Catalogo' => array(
(int) 0 => array(
'id' => '7',
'name' => 'Baleros',
'brand_id' => '3',
'image' => 'BALEROS 2023-03.jpg',
'carpeta' => 'ba',
'created' => '2019-08-29 17:40:16',
'modified' => '2023-05-20 02:12:03',
'pdf' => 'baleros.pdf',
'epub' => 'baleros.epub',
'mobi' => 'baleros.mobi',
'web' => 'baleros/index.html'
)
),
'Category' => array(
(int) 0 => array(
'id' => '1',
'parent_id' => null,
'lft' => '1',
'rght' => '60',
'name' => 'BALEROS',
'code' => 'BA',
'imagen' => 'BALEROS1.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-10-09',
'jerarquia' => 'GIB-BA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 1 => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 2 => array(
'id' => '3',
'parent_id' => '2',
'lft' => '3',
'rght' => '4',
'name' => 'RETENES PARA ACEITE',
'code' => 'RET',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_RETENES PARA ACEITE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-RET',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 3 => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 4 => array(
'id' => '5',
'parent_id' => '4',
'lft' => '13',
'rght' => '14',
'name' => 'RODAMIENTOS DE BOLA',
'code' => 'ROD',
'imagen' => 'RODAMIENTOS DE BOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-ROD',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 5 => array(
'id' => '6',
'parent_id' => '4',
'lft' => '15',
'rght' => '16',
'name' => 'RODAMIENTOS AUTOMOTRICES',
'code' => 'RAU',
'imagen' => 'RODAMIENTOS AUTOMOTRICES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 6 => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 7 => array(
'id' => '8',
'parent_id' => '7',
'lft' => '39',
'rght' => '40',
'name' => 'COPLES',
'code' => 'COP',
'imagen' => 'COPLES_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-COP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 8 => array(
'id' => '9',
'parent_id' => '7',
'lft' => '41',
'rght' => '42',
'name' => 'ELEMENTO PARA COPLE',
'code' => 'ELE',
'imagen' => 'SELLADO_ELEMENTO PARA COPLE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ELE',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 9 => array(
'id' => '10',
'parent_id' => '4',
'lft' => '17',
'rght' => '18',
'name' => 'CHUMACERAS',
'code' => 'CHU',
'imagen' => 'CHUMACERAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CHU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 10 => array(
'id' => '11',
'parent_id' => '4',
'lft' => '19',
'rght' => '20',
'name' => 'RODAMIENTO AGRÍCOLA',
'code' => 'RAG',
'imagen' => 'RODAMIENTO AGRÍCOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAG',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 11 => array(
'id' => '12',
'parent_id' => '4',
'lft' => '21',
'rght' => '22',
'name' => 'RODAMIENTO AGUJA',
'code' => 'RAJ',
'imagen' => 'RODAMIENTO AGUJA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAJ',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 12 => array(
'id' => '13',
'parent_id' => '4',
'lft' => '23',
'rght' => '24',
'name' => 'CABEZA DE RÓTULA',
'code' => 'CAB',
'imagen' => 'CABEZA DE RÓTULA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CAB',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 13 => array(
'id' => '112',
'parent_id' => '4',
'lft' => '25',
'rght' => '26',
'name' => 'BOLAS DE ACERO',
'code' => 'BOL',
'imagen' => 'BOLAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BOL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 14 => array(
'id' => '115',
'parent_id' => '4',
'lft' => '27',
'rght' => '28',
'name' => 'BALERO PARA MINIATURA',
'code' => 'BPM',
'imagen' => 'BALERO PARA MINIATURA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BPM',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 15 => array(
'id' => '116',
'parent_id' => '7',
'lft' => '43',
'rght' => '44',
'name' => 'BANDAS INDUSTRIALES',
'code' => 'BAN',
'imagen' => 'BANDAS INDUSTRIALES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-BAN',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 16 => array(
'id' => '183',
'parent_id' => '7',
'lft' => '45',
'rght' => '46',
'name' => 'CADENAS',
'code' => 'CAD',
'imagen' => 'CADENAS_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-CAD',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 17 => array(
'id' => '211',
'parent_id' => '7',
'lft' => '47',
'rght' => '48',
'name' => 'CATARINAS',
'code' => 'CAT',
'imagen' => 'SELLADO_CATARINAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 18 => array(
'id' => '303',
'parent_id' => '7',
'lft' => '49',
'rght' => '50',
'name' => 'CUÑAS',
'code' => 'CUÑ',
'imagen' => 'CUÑAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CUÑ',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 19 => array(
'id' => '447',
'parent_id' => '7',
'lft' => '51',
'rght' => '52',
'name' => 'GRAPAS DE ACERO',
'code' => 'GRA',
'imagen' => 'GRAPAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GRA',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 20 => array(
'id' => '448',
'parent_id' => '7',
'lft' => '53',
'rght' => '54',
'name' => 'GRAPAS DE ALAMBRE',
'code' => 'GDA',
'imagen' => 'GRAPAS DE ALAMBRE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GDA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 21 => array(
'id' => '624',
'parent_id' => '7',
'lft' => '55',
'rght' => '56',
'name' => 'POLEAS DE ALUMINIO',
'code' => 'POL',
'imagen' => 'poleas1.jpeg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-POL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 22 => array(
'id' => '688',
'parent_id' => '4',
'lft' => '29',
'rght' => '30',
'name' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ',
'code' => 'SEL',
'imagen' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-SEL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 23 => array(
'id' => '689',
'parent_id' => '2',
'lft' => '9',
'rght' => '10',
'name' => 'SELLOS O´RING',
'code' => 'SOR',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_SELLOS O´RING.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-SOR',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 24 => array(
'id' => '1980',
'parent_id' => '7',
'lft' => '57',
'rght' => '58',
'name' => 'ESALBONES',
'code' => 'ESL',
'imagen' => 'ESALBONES.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ESL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 25 => array(
'id' => '2067',
'parent_id' => null,
'lft' => '4645',
'rght' => '4652',
'name' => 'MARKETING',
'code' => 'MK',
'imagen' => 'MTK_BALEROS_MARKETING-01.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 26 => array(
'id' => '2068',
'parent_id' => '2067',
'lft' => '4646',
'rght' => '4651',
'name' => 'MERCADEO',
'code' => 'MER',
'imagen' => 'MTK_BALEROS_ MERCADEO-02.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 27 => array(
'id' => '2069',
'parent_id' => '2068',
'lft' => '4647',
'rght' => '4648',
'name' => 'CATALOGOS',
'code' => 'CAT',
'imagen' => 'MTK_BALEROS_CATALOGOS-03.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 28 => array(
'id' => '2260',
'parent_id' => '2068',
'lft' => '4649',
'rght' => '4650',
'name' => 'MATERIAL POP',
'code' => 'POP',
'imagen' => '',
'brand_id' => '3',
'created' => '2021-03-09',
'modified' => '2021-03-09',
'jerarquia' => 'GIB-MK-MER-POP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 29 => array(
'id' => '2468',
'parent_id' => '4',
'lft' => '31',
'rght' => '32',
'name' => 'SLAVIA',
'code' => 'SLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-SLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 30 => array(
'id' => '2469',
'parent_id' => '4',
'lft' => '33',
'rght' => '34',
'name' => 'CARRETILLA',
'code' => 'CAR',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-CAR',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 31 => array(
'id' => '2470',
'parent_id' => '4',
'lft' => '35',
'rght' => '36',
'name' => 'RODILLO',
'code' => 'RLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-RLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
)
)
)
$cats = array(
(int) 0 => array(
'Category' => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 1 => array(
'Category' => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 2 => array(
'Category' => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
)
)
$url = 'https://www.instagram.com/gimbaleros?__a=1'
$content = 'for (;;);{"redirect":"https:\/\/www.instagram.com\/gimbaleros\/"}'
$obj = null
$items = array()
$http_response_header = array(
(int) 0 => 'HTTP/1.1 200 OK',
(int) 1 => 'Vary: Accept-Encoding',
(int) 2 => 'Content-Type: application/x-javascript; charset=utf-8',
(int) 3 => 'cross-origin-resource-policy: cross-origin',
(int) 4 => 'Pragma: no-cache',
(int) 5 => 'Cache-Control: private, no-cache, no-store, must-revalidate',
(int) 6 => 'Expires: Sat, 01 Jan 2000 00:00:00 GMT',
(int) 7 => 'X-Content-Type-Options: nosniff',
(int) 8 => 'X-Frame-Options: DENY',
(int) 9 => 'Strict-Transport-Security: max-age=31536000; preload; includeSubDomains',
(int) 10 => 'x-stack: www',
(int) 11 => 'X-FB-Debug: Vpms+7fd0Ur3Sp22PInFH6SIWBFAAB19ZuBXTtrGjnrWmBWaX2DDKxgpeVy/Ies95i/B4nImfEAxmNR0kMsquw==',
(int) 12 => 'Date: Sat, 12 Oct 2024 16:34:25 GMT',
(int) 13 => 'Alt-Svc: h3=":443"; ma=86400',
(int) 14 => 'Connection: close'
) HomeController::gimbaleros() - APP/Controller/HomeController.php, line 386
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117 Warning (2) : Invalid argument supplied for foreach() [APP/Controller/HomeController.php , line 386 ]Code Context $obj = json_decode ( $content );
$items =array();
foreach( $obj -> graphql -> user -> edge_owner_to_timeline_media -> edges as $key => $value ){
$marca = array(
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Catalogo' => array(
(int) 0 => array(
'id' => '7',
'name' => 'Baleros',
'brand_id' => '3',
'image' => 'BALEROS 2023-03.jpg',
'carpeta' => 'ba',
'created' => '2019-08-29 17:40:16',
'modified' => '2023-05-20 02:12:03',
'pdf' => 'baleros.pdf',
'epub' => 'baleros.epub',
'mobi' => 'baleros.mobi',
'web' => 'baleros/index.html'
)
),
'Category' => array(
(int) 0 => array(
'id' => '1',
'parent_id' => null,
'lft' => '1',
'rght' => '60',
'name' => 'BALEROS',
'code' => 'BA',
'imagen' => 'BALEROS1.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-10-09',
'jerarquia' => 'GIB-BA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 1 => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 2 => array(
'id' => '3',
'parent_id' => '2',
'lft' => '3',
'rght' => '4',
'name' => 'RETENES PARA ACEITE',
'code' => 'RET',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_RETENES PARA ACEITE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-RET',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 3 => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 4 => array(
'id' => '5',
'parent_id' => '4',
'lft' => '13',
'rght' => '14',
'name' => 'RODAMIENTOS DE BOLA',
'code' => 'ROD',
'imagen' => 'RODAMIENTOS DE BOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-ROD',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 5 => array(
'id' => '6',
'parent_id' => '4',
'lft' => '15',
'rght' => '16',
'name' => 'RODAMIENTOS AUTOMOTRICES',
'code' => 'RAU',
'imagen' => 'RODAMIENTOS AUTOMOTRICES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 6 => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
(int) 7 => array(
'id' => '8',
'parent_id' => '7',
'lft' => '39',
'rght' => '40',
'name' => 'COPLES',
'code' => 'COP',
'imagen' => 'COPLES_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-COP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 8 => array(
'id' => '9',
'parent_id' => '7',
'lft' => '41',
'rght' => '42',
'name' => 'ELEMENTO PARA COPLE',
'code' => 'ELE',
'imagen' => 'SELLADO_ELEMENTO PARA COPLE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ELE',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 9 => array(
'id' => '10',
'parent_id' => '4',
'lft' => '17',
'rght' => '18',
'name' => 'CHUMACERAS',
'code' => 'CHU',
'imagen' => 'CHUMACERAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CHU',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 10 => array(
'id' => '11',
'parent_id' => '4',
'lft' => '19',
'rght' => '20',
'name' => 'RODAMIENTO AGRÍCOLA',
'code' => 'RAG',
'imagen' => 'RODAMIENTO AGRÍCOLA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAG',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 11 => array(
'id' => '12',
'parent_id' => '4',
'lft' => '21',
'rght' => '22',
'name' => 'RODAMIENTO AGUJA',
'code' => 'RAJ',
'imagen' => 'RODAMIENTO AGUJA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-RAJ',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 12 => array(
'id' => '13',
'parent_id' => '4',
'lft' => '23',
'rght' => '24',
'name' => 'CABEZA DE RÓTULA',
'code' => 'CAB',
'imagen' => 'CABEZA DE RÓTULA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-CAB',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 13 => array(
'id' => '112',
'parent_id' => '4',
'lft' => '25',
'rght' => '26',
'name' => 'BOLAS DE ACERO',
'code' => 'BOL',
'imagen' => 'BOLAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BOL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 14 => array(
'id' => '115',
'parent_id' => '4',
'lft' => '27',
'rght' => '28',
'name' => 'BALERO PARA MINIATURA',
'code' => 'BPM',
'imagen' => 'BALERO PARA MINIATURA.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-BPM',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 15 => array(
'id' => '116',
'parent_id' => '7',
'lft' => '43',
'rght' => '44',
'name' => 'BANDAS INDUSTRIALES',
'code' => 'BAN',
'imagen' => 'BANDAS INDUSTRIALES.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-BAN',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 16 => array(
'id' => '183',
'parent_id' => '7',
'lft' => '45',
'rght' => '46',
'name' => 'CADENAS',
'code' => 'CAD',
'imagen' => 'CADENAS_TRANSMISION BALEROS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-12-05',
'jerarquia' => 'GIB-BA-TRA-CAD',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 17 => array(
'id' => '211',
'parent_id' => '7',
'lft' => '47',
'rght' => '48',
'name' => 'CATARINAS',
'code' => 'CAT',
'imagen' => 'SELLADO_CATARINAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 18 => array(
'id' => '303',
'parent_id' => '7',
'lft' => '49',
'rght' => '50',
'name' => 'CUÑAS',
'code' => 'CUÑ',
'imagen' => 'CUÑAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-CUÑ',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 19 => array(
'id' => '447',
'parent_id' => '7',
'lft' => '51',
'rght' => '52',
'name' => 'GRAPAS DE ACERO',
'code' => 'GRA',
'imagen' => 'GRAPAS DE ACERO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GRA',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 20 => array(
'id' => '448',
'parent_id' => '7',
'lft' => '53',
'rght' => '54',
'name' => 'GRAPAS DE ALAMBRE',
'code' => 'GDA',
'imagen' => 'GRAPAS DE ALAMBRE.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-GDA',
'menu' => true,
'activo' => true,
'activo_landing' => false
),
(int) 21 => array(
'id' => '624',
'parent_id' => '7',
'lft' => '55',
'rght' => '56',
'name' => 'POLEAS DE ALUMINIO',
'code' => 'POL',
'imagen' => 'poleas1.jpeg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-POL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 22 => array(
'id' => '688',
'parent_id' => '4',
'lft' => '29',
'rght' => '30',
'name' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ',
'code' => 'SEL',
'imagen' => 'SELLOS PARA BOMBA DE AGUA AUTOMOTRIZ.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-ROD-SEL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 23 => array(
'id' => '689',
'parent_id' => '2',
'lft' => '9',
'rght' => '10',
'name' => 'SELLOS O´RING',
'code' => 'SOR',
'imagen' => 'TRANSMISION INDUSTRIAL_SELLADO_SELLOS O´RING.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-SEL-SOR',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 24 => array(
'id' => '1980',
'parent_id' => '7',
'lft' => '57',
'rght' => '58',
'name' => 'ESALBONES',
'code' => 'ESL',
'imagen' => 'ESALBONES.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-19',
'jerarquia' => 'GIB-BA-TRA-ESL',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 25 => array(
'id' => '2067',
'parent_id' => null,
'lft' => '4645',
'rght' => '4652',
'name' => 'MARKETING',
'code' => 'MK',
'imagen' => 'MTK_BALEROS_MARKETING-01.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 26 => array(
'id' => '2068',
'parent_id' => '2067',
'lft' => '4646',
'rght' => '4651',
'name' => 'MERCADEO',
'code' => 'MER',
'imagen' => 'MTK_BALEROS_ MERCADEO-02.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 27 => array(
'id' => '2069',
'parent_id' => '2068',
'lft' => '4647',
'rght' => '4648',
'name' => 'CATALOGOS',
'code' => 'CAT',
'imagen' => 'MTK_BALEROS_CATALOGOS-03.jpg',
'brand_id' => '3',
'created' => '2019-09-11',
'modified' => '2019-09-11',
'jerarquia' => 'GIB-MK-MER-CAT',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 28 => array(
'id' => '2260',
'parent_id' => '2068',
'lft' => '4649',
'rght' => '4650',
'name' => 'MATERIAL POP',
'code' => 'POP',
'imagen' => '',
'brand_id' => '3',
'created' => '2021-03-09',
'modified' => '2021-03-09',
'jerarquia' => 'GIB-MK-MER-POP',
'menu' => false,
'activo' => true,
'activo_landing' => false
),
(int) 29 => array(
'id' => '2468',
'parent_id' => '4',
'lft' => '31',
'rght' => '32',
'name' => 'SLAVIA',
'code' => 'SLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-SLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 30 => array(
'id' => '2469',
'parent_id' => '4',
'lft' => '33',
'rght' => '34',
'name' => 'CARRETILLA',
'code' => 'CAR',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-CAR',
'menu' => false,
'activo' => false,
'activo_landing' => false
),
(int) 31 => array(
'id' => '2470',
'parent_id' => '4',
'lft' => '35',
'rght' => '36',
'name' => 'RODILLO',
'code' => 'RLL',
'imagen' => '',
'brand_id' => '3',
'created' => '2023-11-01',
'modified' => '2023-11-01',
'jerarquia' => 'GIB-BA-ROD-RLL',
'menu' => false,
'activo' => false,
'activo_landing' => false
)
)
)
$cats = array(
(int) 0 => array(
'Category' => array(
'id' => '2',
'parent_id' => '1',
'lft' => '2',
'rght' => '11',
'name' => 'SELLADO',
'code' => 'SEL',
'imagen' => '05_SELLADO.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-SEL',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 1 => array(
'Category' => array(
'id' => '4',
'parent_id' => '1',
'lft' => '12',
'rght' => '37',
'name' => 'RODAMIENTO DE BOLA',
'code' => 'ROD',
'imagen' => '01_RODAMIENTO-DE-BOLAS.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-ROD',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
),
(int) 2 => array(
'Category' => array(
'id' => '7',
'parent_id' => '1',
'lft' => '38',
'rght' => '59',
'name' => 'TRANSMISION INDUSTRIAL',
'code' => 'TRA',
'imagen' => '07_TRANSMISION-INDUSTRIAL.jpg',
'brand_id' => '3',
'created' => '2019-08-21',
'modified' => '2019-08-31',
'jerarquia' => 'GIB-BA-TRA',
'menu' => true,
'activo' => true,
'activo_landing' => true
),
'Brand' => array(
'id' => '3',
'name' => 'GIM BALEROS',
'clave' => 'GIB',
'image' => 'IMAGIMB-GimB.jpg',
'color' => '#f4f400',
'logo' => 'circuloGIMB-GimB.png',
'imagen_menu' => 'BALEROS 2.jpg',
'sloga' => '',
'facebook' => 'https://www.facebook.com/gimbalerosmx/',
'iframe_facebook' => '<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v4.0"></script>
<div class="fb-page" data-href="https://www.facebook.com/gimbalerosmx/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/gimbalerosmx/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gimbalerosmx/">Gim Baleros</a></blockquote></div>',
'twitter' => 'https://twitter.com/GimBaleros',
'youtube' => 'https://www.youtube.com/channel/UCDCHc5Vkdd9JpWnVWuRjg6Q',
'instagram' => 'https://www.instagram.com/gimbaleros/',
'created' => '2019-05-05 23:30:44',
'modified' => '2019-10-09 06:10:48',
'orden' => '5',
'layout' => 'baleros',
'cabecera' => 'baleros01.png',
'clase' => 'gim_baleros',
'activo_menu' => true,
'activo_home' => true,
'producto_recomendado' => 'http://gimbelmexicana.com/gimbel/store/articulos/8',
'imagen_recomendado' => 'PRODUCTOS RECOMENDADO BALEROS.png',
'producto_nuevo' => 'http://gimbelmexicana.com/gimbel/store/articulo/5614',
'imagen_nuevo' => 'PRODUCTOS NUEVOS BALEROS.png',
'button_venta' => 'hoja_venta_baleros.png'
),
'Article' => array()
)
)
$url = 'https://www.instagram.com/gimbaleros?__a=1'
$content = 'for (;;);{"redirect":"https:\/\/www.instagram.com\/gimbaleros\/"}'
$obj = null
$items = array()
$http_response_header = array(
(int) 0 => 'HTTP/1.1 200 OK',
(int) 1 => 'Vary: Accept-Encoding',
(int) 2 => 'Content-Type: application/x-javascript; charset=utf-8',
(int) 3 => 'cross-origin-resource-policy: cross-origin',
(int) 4 => 'Pragma: no-cache',
(int) 5 => 'Cache-Control: private, no-cache, no-store, must-revalidate',
(int) 6 => 'Expires: Sat, 01 Jan 2000 00:00:00 GMT',
(int) 7 => 'X-Content-Type-Options: nosniff',
(int) 8 => 'X-Frame-Options: DENY',
(int) 9 => 'Strict-Transport-Security: max-age=31536000; preload; includeSubDomains',
(int) 10 => 'x-stack: www',
(int) 11 => 'X-FB-Debug: Vpms+7fd0Ur3Sp22PInFH6SIWBFAAB19ZuBXTtrGjnrWmBWaX2DDKxgpeVy/Ies95i/B4nImfEAxmNR0kMsquw==',
(int) 12 => 'Date: Sat, 12 Oct 2024 16:34:25 GMT',
(int) 13 => 'Alt-Svc: h3=":443"; ma=86400',
(int) 14 => 'Connection: close'
) HomeController::gimbaleros() - APP/Controller/HomeController.php, line 386
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Gimbel - GIM BALEROS
Código del Producto
Cantidad
Código del Producto
Cantidad
Gim Baleros y Rodamientos se enfoca al ramo industrial buscando siempre ofrecer a los clientes los mejores artículos y con la mejor calidad.
Bajo la marca GIM BALEROS encontramos las siguientes categorías de productos: