Jump to content

Prestashop modules validation process


Recommended Posts

I am new is this module development for prestashop and I am very surprised by the Prestashop validation system.

I developed the module, I tested it in debug mode, I passed the first validator without problems, but in the second validation phase, every week they send me an error, I repair it and the next week they send me another one.

Is there no way to streamline the process and send all the errors in a single response?

 

The last error is:

"When configuring the module: Warning on line 290 in file /var/www/html/classes/Translate.php [2] vsprintf (): Too few arguments"

 

I think this is error in your translation.php file because it does not reference to my path.

Link to comment
Share on other sites

Are you using any of the following functions from the Translate class ?

checkAndReplaceArgs or getPdfTranslation or getAdminTranslation or getModuleTranslation

 

Translate uses vsprintf in the checkAndReplaceArgs function, and expects to arguments.  So you must be using one of the above functions in some way incorrectly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...