Author Topic: After update - 0 - syntax error, unexpected 'int' (T_STRING), expecting variable  (Read 836 times)

bmw2182

  • Jr. Member
  • **
  • Posts: 95
HELP,

I did an update and now I can't see the webpage.  I can still login in to the backend. I went to my host and there was an issue with my last back up, so a restore is not an option.  The link to the page with the error is http://www.moshersseafoodandmeat.com/store/. Does anybody have any ideas how I can resolve this issue without completely rebuilding the website?

Joomla 3.9.8 (it says its up to date)
Virtuemart is 4.0.4

Any info would be greatly appreciated.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10695
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
rebuild definitely not needed

1st try the dev version of the soon to be released VM4.0.8  https://forum.virtuemart.net/index.php?topic=148609.msg530826#msg530826
Learn how to display the trace of the error so u know where the problem is...
https://forum.virtuemart.net/index.php?topic=117042.0
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bmw2182

  • Jr. Member
  • **
  • Posts: 95
Thank you for the replies, I am just seeing them.  I have it set to receive notifications now.

I turned on the debugging and I get the following error messages

Notice: Undefined property: VirtuemartViewProduct::$categoryId in /home/seafood/public_html/store/administrator/templates/vmadmin/html/com_virtuemart/product/default.php on line 90

Notice: Undefined property: VirtuemartViewProduct::$categoryId in /home/seafood/public_html/store/administrator/templates/vmadmin/html/com_virtuemart/product/default.php on line 182

87            <?php
88
89               echo $this->lists['search_type'];
90
91               echo $this->lists['search_order’];
92
93               echo vmJsApi::jDate($this->search_date, 'search_date');
94
95               echo $this->lists['customlist'];
96
97               echo $this->lists['vendors'];
98
99            ?>



179      if( $this->categoryId ) { ?>
180
181         <th style="min-width:100px;width:5%;">
182
183            <?php echo $this->sort('pc.ordering', 'COM_VIRTUEMART_FIELDMANAGER_REORDER'); ?>
184
185            <?php echo JHtml::_('grid.order', $this->productlist); //vmCommonHTML::getSaveOrderButton( $num_rows, 'changeordering' ); ?>

I have included the code. What am I missing?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10695
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
those 2 are just php notices .. unimportant re the fatal error

you need to find the fatal.. possibly in the router.php

u don't say which version u are on now .. important!!!!
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation