Author Topic: Notice: Unrecognized Mathop...  (Read 3731 times)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3524
  • using Matomo instead of Google Analytics
Notice: Unrecognized Mathop...
« on: November 15, 2011, 23:41:35 pm »
J1.7.3/VM2 SVN revision 4712

When I select a product from the BE product list, in the 'Product Edit' view I still get the VMDebug notice "Info: Unrecognised mathop + in calculation rule found, seems you created this rule with plugin not longer accesible (deactivated, uninstalled?)"
Currently the Base price is calculated correctly from the Cost price, to which it adds the currency conversion plus a profit margin.
But it ommits another rule adding the product supplier's shipping cost, which I select from the 'Discount type' dropdown in the Pricing rules overrides:

"shipping cost supplier X": + "value", Price modifier before tax. (This did work previously)

Instead it just adds the sales tax to the calculated Base price.

When I delete the shipping cost rule from the 'pricing rule overrides", all product entry fields become blank and the following errors are shown:

Table 'j17vm2svn.jos_de_virtuemart_products' doesn't exist SQL=SELECT * FROM jos_de_virtuemart_products WHERE `virtuemart_product_id` = '40'

Notice: Undefined property: VirtuemartViewProduct::$langList in ...\administrator\components\com_virtuemart\views\product\tmpl\product_edit_information.php on line 22

However, the missing table error might be related to Electrocity's new language filter (wip).
Would be cool if I could select the product description language soon  8) ;) ;D
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3524
  • using Matomo instead of Google Analytics
Re: Notice: Unrecognized Mathop...
« Reply #1 on: November 16, 2011, 09:02:19 am »
J1.7.3/VM2 SVN revision 4718 ...early morning update

After last night's commits the result after deleting a calulation rule in the 'Product Edit' form has changed.

When deleting a calculation rule from the 'Pricing rule overrides' dropdown selection field, I currently get a long repeating list of this line:
Warning: Invalid argument supplied for foreach() in ...\administrator\components\com_virtuemart\helpers\vmtable.php on line 465

The last line in the list says:
Fatal error: Maximum execution time of 60 seconds exceeded in ...\libraries\joomla\database\database\mysqli.php on line 523
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3524
  • using Matomo instead of Google Analytics
Re: Notice: Unrecognized Mathop...
« Reply #2 on: November 16, 2011, 17:43:47 pm »
Late afternoon update:

The VMDebug notice "Info: Unrecognised mathop + in calculation rule found, seems you created this rule with plugin not longer accesible (deactivated, uninstalled?)" disappeared after I selected every single + DbTax rule and saved it again. However, the selected + DbTax rules are still not added to calculate the final product price.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations