Author Topic: Fatal error: Call to undefined method VirtueMartModelUserfields::fieldPublished(  (Read 2038 times)

mandingueiro

  • Jr. Member
  • **
  • Posts: 179
I have VM 2.0.10 installed and installed AIO and now I get this error in the checkout process after filling the Account Details form and trying to proceed.

Fatal error: Call to undefined method VirtueMartModelUserfields::fieldPublished() in /home/isleofec/public_html/plugins/vmshipment/weight_countries/weight_countries.php on line 254

URL is: http://isleofeco.gr/component/virtuemart/cart/edit_shipment?Itemid=0

Line 254 of this file is: if ($userFieldsModel->fieldPublished('zip', $type)){

Any ideas plz? Thanks :)

mandingueiro

  • Jr. Member
  • **
  • Posts: 179
OK, I fixed this error by upgrading to latest VM version, but now the products are not showing in my frontend category pages, even though they are in the database and I can see them in the backend..for example: http://isleofeco.gr/index.php?option=com_virtuemart&view=category&virtuemart_category_id=8.

Also in the admin section when I go to Products Page (without selecting any filters) I get this warning message:

vmError: exeSortSearchListQuery Unknown column 'ordering' in 'order clause' SQL=SELECT SQL_CALC_FOUND_ROWS l.`virtuemart_product_id` FROM `xxxx_virtuemart_products_el_gr` as l JOIN `xxxx_virtuemart_products` AS p using (`virtuemart_product_id`) group by p.`virtuemart_product_id` ORDER BY ordering DESC LIMIT 0, 15

mandingueiro

  • Jr. Member
  • **
  • Posts: 179
OK fixed this too by also adding 'English' as my shop language besides 'Greek'.