NEW ARRIVALS

Error: Call to a member function getCode() on null in /opt/magento/public_html/app/code/MGS/Mpanel/view/frontend/templates/homepage/middle.phtml:8 Stack trace: #0 /opt/magento/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include() #1 /opt/magento/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(MageWorx\Downloads\Block\Catalog\Product\Link), '/opt/magento/pu...', Array) #2 /opt/magento/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array) #3 /opt/magento/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(MageWorx\Downloads\Block\Catalog\Product\Link), '/opt/magento/pu...', Array) #4 /opt/magento/public_html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array) #5 /opt/magento/public_html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(MageWorx\Downloads\Block\Catalog\Product\Link), '/opt/magento/pu...', Array) #6 /opt/magento/public_html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView('/opt/magento/pu...') #7 /opt/magento/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #8 /opt/magento/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #9 /opt/magento/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #10 /opt/magento/public_html/vendor/magento/module-email/Model/Template/Filter.php(426): Magento\Framework\View\Element\AbstractBlock->toHtml() #11 /opt/magento/public_html/generated/code/Magento/Widget/Model/Template/Filter/Interceptor.php(140): Magento\Email\Model\Template\Filter->blockDirective(Array) #12 [internal function]: Magento\Widget\Model\Template\Filter\Interceptor->blockDirective(Array) #13 /opt/magento/public_html/vendor/magento/framework/Filter/DirectiveProcessor/LegacyDirective.php(42): ReflectionMethod->invokeArgs(Object(Magento\Widget\Model\Template\Filter\Interceptor), Array) #14 /opt/magento/public_html/vendor/magento/framework/Filter/Template.php(184): Magento\Framework\Filter\DirectiveProcessor\LegacyDirective->process(Array, Object(Magento\Widget\Model\Template\Filter\Interceptor), Array) #15 /opt/magento/public_html/vendor/magento/module-email/Model/Template/Filter.php(1080): Magento\Framework\Filter\Template->filter('
Code Profiler (Memory usage: real - 48234496, emalloc - 45312432) Timer Id Time Avg Cnt Emalloc RealMem cache_frontend_create 0.002923 0.001462 2 342,024 0 cache_load 0.001617 0.000539 3 1,703,456 0 magento 0.597470 0.597472 1 0 0 ·  cache_load 0.001907 0.000191 10 1,705,208 0 ·  session_start 0.001449 0.001449 1 107,640 0 ·  EVENT:customer_session_init 0.000890 0.000890 1 494,248 0 ·  ·  cache_load 0.000159 0.000080 2 89,680 0 ·  EVENT:core_register_urlrewrite 0.002984 0.002984 1 200,424 0 ·  ·  OBSERVER:kbase 0.002884 0.002884 1 192,448 0 ·  routers_match 0.177783 0.177783 1 13,579,984 12,582,912 ·  ·  cache_load 0.000588 0.000147 4 318,128 0 ·  ·  EAV: Magento\Eav\Model\Config::_initEntityTypes 0.000180 0.000180 1 28,712 0 ·  ·  EAV: Magento\Eav\Model\Config::getEntityType 0.000231 0.000231 1 40,664 0 ·  ·  EVENT:controller_action_predispatch 0.010734 0.010734 1 771,560 0 ·  ·  ·  OBSERVER:update_initial_fee_predispatch 0.004156 0.004156 1 3,280 0 ·  ·  ·  OBSERVER:customer_visitor 0.000531 0.000531 1 42,456 0 ·  ·  ·  OBSERVER:newrelicreporting_observer_report_concurrent_users 0.003836 0.003836 1 478,688 0 ·  ·  ·  OBSERVER:persistent_synchronize 0.000546 0.000546 1 57,984 0 ·  ·  ·  OBSERVER:persistent 0.000842 0.000842 1 155,520 0 ·  ·  ·  OBSERVER:persistent_quote 0.000407 0.000407 1 16,552 0 ·  ·  load_area:frontend.design 0.000740 0.000740 1 30,640 0 ·  ·  load_area:frontend.translate 0.000463 0.000463 1 24,480 0 ·  ·  postdispatch 0.001810 0.001810 1 78,616 0 ·  ·  ·  EVENT:controller_action_postdispatch 0.001726 0.001726 1 74,048 0 ·  ·  ·  ·  OBSERVER:lof_rma_postdispatch 0.001583 0.001583 1 69,736 0 ·  ·  CONTROLLER_ACTION:cms_page_view 0.120456 0.120456 1 7,273,856 8,388,608 ·  ·  ·  action_body 0.120437 0.120437 1 7,272,984 8,388,608 ·  ·  ·  ·  EVENT:controller_action_predispatch 0.000277 0.000277 1 11,752 0 ·  ·  ·  ·  cache_load 0.000319 0.000080 4 10,392 0 ·  ·  ·  ·  LAYOUT 0.110438 0.036813 3 6,729,880 8,388,608 ·  ·  ·  ·  ·  EVENT:layout_load_before 0.000487 0.000487 1 85,864 2,097,152 ·  ·  ·  ·  ·  ·  OBSERVER:instat_search_layout_load_before 0.000213 0.000213 1 75,400 2,097,152 ·  ·  ·  ·  ·  layout_load 0.032949 0.032949 1 178,680 0 ·  ·  ·  ·  ·  ·  layout_package_update:default 0.020524 0.020524 1 119,976 0 ·  ·  ·  ·  ·  ·  ·  cache_load 0.000652 0.000652 1 614,416 0 ·  ·  ·  ·  ·  ·  ·  layout_db_update: default_head_blocks 0.001336 0.001336 1 9,960 0 ·  ·  ·  ·  ·  ·  ·  layout_package_update:quickdevbar 0.000949 0.000949 1 15,168 0 ·  ·  ·  ·  ·  layout_generate_xml 0.001612 0.001612 1 7,768 0 ·  ·  ·  ·  ·  layout_generate_blocks 0.074962 0.074962 1 6,441,824 6,291,456 ·  ·  ·  ·  ·  ·  Magento\Framework\View\Layout::Magento\Framework\View\Layout::generateElements 0.072835 0.072835 1 6,898,176 6,291,456 ·  ·  ·  ·  ·  ·  ·  build_structure 0.009165 0.009165 1 526,576 0 ·  ·  ·  ·  ·  ·  ·  generate_elements 0.062347 0.062347 1 6,365,272 6,291,456 ·  ·  ·  ·  ·  ·  ·  ·  cache_load 0.000866 0.000124 7 296,912 0 ·  ·  ·  ·  ·  ·  ·  ·  EVENT:core_layout_block_create_after 0.000407 0.000004 113 -34,160 0 ·  ·  ·  ·  ·  ·  ·  ·  Magento\Framework\View\Layout::Magento\Framework\View\Layout::generateElements 0.000472 0.000472 1 104,720 0 ·  ·  ·  ·  ·  ·  ·  ·  ·  cache_load 0.000064 0.000064 1 12,552 0 ·  ·  ·  ·  ·  ·  ·  ·  ·  generate_elements 0.000237 0.000237 1 26,640 0 ·  ·  ·  ·  ·  EVENT:layout_generate_blocks_after 0.000309 0.000309 1 11,416 0 ·  LAYOUT 0.353884 0.353886 1 0 0 ·  ·  layout_render 0.353887 0.353888 1 0 0 ·  ·  ·  EVENT:view_block_abstract_to_html_before 0.000225 0.000006 39 -10,656 0 ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/design/frontend/Mgs/claue/Magento_Theme/templates/page/js/require_js.phtml 0.000960 0.000960 1 21,984 0 ·  ·  ·  EVENT:view_block_abstract_to_html_after 0.000214 0.000006 37 -10,080 0 ·  ·  ·  TEMPLATE:/opt/magento/public_html/vendor/magento/module-theme/view/frontend/templates/html/container.phtml 0.009340 0.009340 1 351,360 0 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/vendor/magento/module-theme/view/frontend/templates/html/header/criticalCss.phtml 0.002589 0.002589 1 174,720 0 ·  ·  ·  ·  EVENT:core_layout_render_element 0.004158 0.000520 8 140,128 0 ·  ·  ·  ·  ·  OBSERVER:pagecache 0.002026 0.000253 8 5,952 0 ·  ·  ·  ·  ·  OBSERVER:mpbannerslider.addblock 0.000648 0.000081 8 22,672 0 ·  ·  ·  ·  ·  OBSERVER:mirasvit_core_frontend 0.001284 0.000161 8 102,528 0 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/code/Lof/All/view/frontend/templates/html/head.phtml 0.000352 0.000352 1 26,608 0 ·  ·  ·  EVENT:core_layout_render_element 0.018312 0.000470 39 95,056 0 ·  ·  ·  ·  OBSERVER:pagecache 0.012219 0.000313 39 2,360 0 ·  ·  ·  ·  OBSERVER:mpbannerslider.addblock 0.004641 0.000119 39 71,440 0 ·  ·  ·  ·  OBSERVER:mirasvit_core_frontend 0.000553 0.000014 39 2,688 0 ·  ·  ·  TEMPLATE:/opt/magento/public_html/vendor/magento/module-catalog/view/base/templates/js/components.phtml 0.004801 0.004801 1 40,088 0 ·  ·  ·  ·  EVENT:core_layout_render_element 0.002212 0.000277 8 7,520 0 ·  ·  ·  ·  ·  OBSERVER:pagecache 0.001654 0.000207 8 984 0 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/code/MGS/Guestwishlist/view/frontend/templates/js.phtml 0.000493 0.000493 1 22,584 0 ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/design/frontend/Mgs/claue/Magento_Theme/templates/html/header.phtml 0.165072 0.165072 1 16,780,432 16,777,216 ·  ·  ·  ·  session_start 0.006892 0.006892 1 10,504 0 ·  ·  ·  ·  EAV:load_entity 0.001154 0.001154 1 7,168 0 ·  ·  ·  ·  EVENT:view_block_abstract_to_html_before 0.000094 0.000006 15 -3,840 0 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/design/frontend/Mgs/claue/Magento_Checkout/templates/cart/minicart.phtml 0.043207 0.043207 1 3,431,576 4,194,304 ·  ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/code/Kiwicommerce/Shippingbar/view/frontend/templates/cart/minicart.phtml 0.004116 0.004116 1 33,272 0 ·  ·  ·  ·  ·  ·  EVENT:magento_salesrule_api_data_ruleinterface_load_after 0.001015 0.001015 1 12,384 0 ·  ·  ·  ·  ·  ·  ·  OBSERVER:legacy_model_load 0.000997 0.000997 1 10,432 0 ·  ·  ·  ·  ·  cache_load 0.000529 0.000106 5 102,816 0 ·  ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/design/frontend/Mgs/claue/Magento_Checkout/templates/cart/crosssell.phtml 0.000636 0.000636 1 16,808 0 ·  ·  ·  ·  EVENT:view_block_abstract_to_html_after 0.000105 0.000007 15 -4,080 0 ·  ·  ·  ·  EVENT:core_layout_render_element 0.017319 0.001237 14 14,192 0 ·  ·  ·  ·  ·  OBSERVER:pagecache 0.011310 0.000808 14 1,272 0 ·  ·  ·  ·  ·  OBSERVER:mpbannerslider.addblock 0.000508 0.000036 14 1,528 0 ·  ·  ·  ·  ·  OBSERVER:mirasvit_core_frontend 0.005142 0.000367 14 4,296 0 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/code/Alogic/Storeswitcher/view/frontend/templates/switch/languages.phtml 0.061255 0.061255 1 11,775,696 12,582,912 ·  ·  ·  ·  ·  cache_load 0.005825 0.000216 27 4,921,240 12,582,912 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/design/frontend/Mgs/mgsblank/Magento_Theme/templates/html/header/logo.phtml 0.000648 0.000648 1 12,536 0 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/design/frontend/Mgs/claue/MGS_Mmegamenu/templates/navigation.phtml 0.007612 0.007612 1 681,584 0 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/design/frontend/Mgs/claue/Magento_Search/templates/form.mini.phtml 0.001378 0.001378 1 34,224 0 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/vendor/magento/module-theme/view/frontend/templates/html/container.phtml 0.008847 0.008847 1 62,536 0 ·  ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/design/frontend/Mgs/claue/Magento_Store/templates/switch/languages.phtml 0.007554 0.007554 1 51,728 0 ·  ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/code/Alogic/Customtheme/view/frontend/templates/topbar.phtml 0.006221 0.006221 1 210,160 0 ·  ·  ·  ·  ·  locale/currency 0.003551 0.003551 1 172,920 0 ·  ·  ·  ·  ·  ·  EVENT:currency_display_options_forming 0.002643 0.002643 1 60,280 0 ·  ·  ·  ·  ·  ·  ·  OBSERVER:magento_currencysymbol_currency_display_options 0.002535 0.002535 1 56,064 0 ·  ·  ·  TEMPLATE:/opt/magento/public_html/vendor/magento/module-customer/view/frontend/templates/account/authentication-popup.phtml 0.001444 0.001444 1 139,696 0 ·  ·  ·  TEMPLATE:/opt/magento/public_html/vendor/mageplaza/module-banner-slider/view/frontend/templates/bannerslider.phtml 0.008309 0.001662 5 93,040 0 ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/code/Alogic/Customtheme/view/frontend/templates/homepagecategories.phtml 0.099104 0.099104 1 1,883,976 4,194,304 ·  ·  ·  ·  EAV: Magento\Eav\Model\Config::getEntityType 0.000325 0.000004 92 5,016 0 ·  ·  ·  ·  cache_load 0.000567 0.000142 4 205,800 0 ·  ·  ·  ·  EAV: Magento\Eav\Model\Config::getAttribute 0.003510 0.000439 8 432,008 0 ·  ·  ·  ·  ·  EAV: Magento\Eav\Model\Config::initSystemAttributes 0.003365 0.003365 1 507,840 0 ·  ·  ·  ·  EAV:load_collection 0.011981 0.011981 1 246,760 0 ·  ·  ·  ·  ·  load_entities 0.005716 0.005716 1 225,576 0 ·  ·  ·  ·  ·  load_attributes 0.006037 0.006037 1 11,496 0 ·  ·  ·  ·  EVENT:magento_catalog_api_data_categoryinterface_load_after 0.006986 0.001164 6 131,576 0 ·  ·  ·  ·  ·  OBSERVER:legacy_category_load_after 0.006863 0.001144 6 126,880 0 ·  ·  ·  ·  ·  ·  after_load 0.006321 0.001053 6 122,296 0 ·  ·  ·  ·  REWRITE: Magento\Catalog\Model\Category::getUrl 0.007354 0.001226 6 27,744 0 ·  ·  ·  TEMPLATE:/opt/magento/public_html/app/code/MGS/Mpanel/view/frontend/templates/homepage/middle.phtml 0.014676 0.014678 1 0 0