Whoops, looks like something went wrong.

1/1 ErrorException in Product.php line 170: Invalid argument supplied for foreach()

  1. in Product.php line 170
  2. at HandleExceptions->handleError('2', 'Invalid argument supplied for foreach()', '/usr/home/grupo-revi/app/Product.php', '170', array('data' => '"\"\\\"\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"[[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\"\\\"\""')) in Product.php line 170
  3. at Product->getHtmlDataAttribute(null) in compiled.php line 11008
  4. at Model->mutateAttribute('html_data', null) in compiled.php line 10968
  5. at Model->getAttributeValue('html_data') in compiled.php line 10960
  6. at Model->getAttribute('html_data') in Ardent.php line 481
  7. at Ardent->getAttribute('html_data') in compiled.php line 11282
  8. at Model->__get('html_data') in EnumerableTrait.php line 86
  9. at Model->__getEnumerableTrait('html_data') in Model.php line 91
  10. at Model->__get('html_data') in technical_sheet.php line 109
  11. at include('/usr/home/grupo-revi/resources/views/print/products/technical_sheet.php') in compiled.php line 14814
  12. at PhpEngine->evaluatePath('/usr/home/grupo-revi/resources/views/print/products/technical_sheet.php', array('__env' => object(Factory), 'app' => object(Application), 'backend' => 'admin', 'version' => '1.0.1', 'errors' => object(ViewErrorBag), 'locale' => 'es', 'subsection' => false, 'amp' => false, 'locations' => object(Collection), 'product' => object(Product))) in compiled.php line 14806
  13. at PhpEngine->get('/usr/home/grupo-revi/resources/views/print/products/technical_sheet.php', array('__env' => object(Factory), 'app' => object(Application), 'backend' => 'admin', 'version' => '1.0.1', 'errors' => object(ViewErrorBag), 'locale' => 'es', 'subsection' => false, 'amp' => false, 'locations' => object(Collection), 'product' => object(Product))) in compiled.php line 14683
  14. at View->getContents() in compiled.php line 14671
  15. at View->renderContents() in compiled.php line 14655
  16. at View->render() in compiled.php line 14690
  17. at View->gatherData() in compiled.php line 14683
  18. at View->getContents() in compiled.php line 14671
  19. at View->renderContents() in compiled.php line 14655
  20. at View->render() in Response.php line 83
  21. at Response::pdf('print.products.technical_sheet', array('product' => object(Product), 'version' => '1.0.1'), 'HALOGEN-FREE ACCESSORIES - EN', 'output') in PrintableTrait.php line 126
  22. at Product->printToPdf('HALOGEN-FREE ACCESSORIES - EN', 'print.products.technical_sheet', array('product' => object(Product))) in PrintableTrait.php line 79
  23. at Product->__callPrintableTrait('print', array()) in Model.php line 119
  24. at Model->__call('print', array('technical_sheet', 'pdf', false)) in MainController.php line 372
  25. at MainController->getDownload('en', 'product', 'pipes')
  26. at call_user_func_array(array(object(MainController), 'getDownload'), array('locale' => 'en', 'type' => 'product', 'uuid' => 'pipes')) in compiled.php line 8950
  27. at Controller->callAction('getDownload', array('locale' => 'en', 'type' => 'product', 'uuid' => 'pipes')) in compiled.php line 9019
  28. at ControllerDispatcher->call(object(MainController), object(Route), 'getDownload') in compiled.php line 8999
  29. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  30. at call_user_func(object(Closure), object(Request)) in compiled.php line 9670
  31. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  32. at call_user_func(object(Closure), object(Request)) in compiled.php line 9652
  33. at Pipeline->then(object(Closure)) in compiled.php line 9000
  34. at ControllerDispatcher->callWithinStack(object(MainController), object(Route), object(Request), 'getDownload') in compiled.php line 8985
  35. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Frontend\MainController', 'getDownload') in compiled.php line 7930
  36. at Route->runWithCustomDispatcher(object(Request)) in compiled.php line 7901
  37. at Route->run(object(Request)) in compiled.php line 7554
  38. at Router->Illuminate\Routing\{closure}(object(Request))
  39. at call_user_func(object(Closure), object(Request)) in compiled.php line 9670
  40. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  41. at call_user_func(object(Closure), object(Request)) in compiled.php line 9652
  42. at Pipeline->then(object(Closure)) in compiled.php line 7555
  43. at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7543
  44. at Router->dispatchToRoute(object(Request)) in compiled.php line 7528
  45. at Router->dispatch(object(Request)) in compiled.php line 2310
  46. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  47. at call_user_func(object(Closure), object(Request)) in compiled.php line 9670
  48. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in FilterResponse.php line 20
  49. at FilterResponse->handle(object(Request), object(Closure))
  50. at call_user_func_array(array(object(FilterResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9662
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in RedirectSecure.php line 22
  52. at RedirectSecure->handle(object(Request), object(Closure))
  53. at call_user_func_array(array(object(RedirectSecure), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9662
  54. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2925
  55. at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 17
  56. at VerifyCsrfToken->handle(object(Request), object(Closure))
  57. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9662
  58. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Configuration.php line 51
  59. at Configuration->handle(object(Request), object(Closure))
  60. at call_user_func_array(array(object(Configuration), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9662
  61. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 13021
  62. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  63. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9662
  64. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11613
  65. at StartSession->handle(object(Request), object(Closure))
  66. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9662
  67. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12758
  68. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  69. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9662
  70. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12695
  71. at EncryptCookies->handle(object(Request), object(Closure))
  72. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9662
  73. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2982
  74. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  75. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9662
  76. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  77. at call_user_func(object(Closure), object(Request)) in compiled.php line 9652
  78. at Pipeline->then(object(Closure)) in compiled.php line 2257
  79. at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2240
  80. at Kernel->handle(object(Request)) in index.php line 53