Undefined variable Error

  • Techmistress
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 weeks 4 days ago #178032 by Techmistress
Undefined variable Error was created by Techmistress
Hi All,
I am Joomla 5.4.5 and EShop 5.4.1.  After upgrading both my Joomla and EShop to these versions I get an errors on the home page:

Warning: Undefined variable $actionUrl
Warning: Undefined variable $pagination
Warning: Undefined variable $sort_options
in the file /components/com_eshop/themes/default/views/common/products.php at line 70,71,72

This is the content of that page:
Code:
    <?php         echo EShopHtmlHelper::loadCommonLayout(             'blocks/sort_bar.php',             [                 'showSortOptions' => $showSortOptions,                 'actionUrl'       => $actionUrl,                 'pagination'      => $pagination,                 'sort_options'    => $sort_options,             ]         );     ?>

Any quick fixes??
Thanks!

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
3 weeks 3 days ago #178037 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Undefined variable Error
Hello,

Thank you for submitting the question here. I think the reason because you have an override layout of EShop from the template and it is not compatible with latest version of EShop.

Please submit a new ticket to EShop category to send me the super admin account to your site so I can help you to check and resolve it for you.

Hope to hear back from you soon.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong