News:

Support the VirtueMart project and become a member

Main Menu

PHP Warning: count():

Started by lsk, May 12, 2018, 15:36:07 PM

Previous topic - Next topic

lsk

Joomla 3.8.7 + VM 3.2.14 + php 7.2

PHP Warning:  count(): Parameter must be an array or an object that implements Countable in site/administrator/components/com_virtuemart/helpers/vmpagination.php on line 192

One mistake.  How to fix the problem?

Studio 42

Disable PHP error reporting in Joomla config and wait for the fix.

Milbo

change the line from

if(count( $sequenceArray>1 )) {


to

if(count( $sequenceArray)>1 ) {
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Solucionesvigo

Este error sigue en la version actual, si estuviera el proyecto en github o similar podríamos corregirlo y tu simplemente aceptarlo.
Un saludo

Virtuemart es rey de los ecomerce de Joomla  :-)

This error continues in the current version, if the project was in github or similar we could correct it and you simply accept it.
a greeting

Virtuemart is king of the Joomla ecomerce :-)
Passionate about Joomla and Virtuemart

Lengua: Español
Mi ingles es gracias al traductor de Google. :-)

jenkinhill

The error is not present in latest available version - VM3.4.5.10040  ( http://dev.virtuemart.net/projects/virtuemart/files )
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Solucionesvigo

Gracias..

Yo es que vi en la versión que descargo aquí. https://virtuemart.net/download

Thank you .. I was that I saw in the version that you download here  https://virtuemart.net/download
Passionate about Joomla and Virtuemart

Lengua: Español
Mi ingles es gracias al traductor de Google. :-)