Jump to content

error product with debug on smarty_modifier_regex_replace()


Recommended Posts

Posted (edited)


Hello. I encounter this error in products / categories when I enable debugging. 

Whoops, looks like something went wrong.

(1/1) FatalErrorException

Compile Error: Cannot redeclare smarty_modifier_regex_replace() (previously declared in /home/admin/web/vivax.ro/public_html/vendor/smarty/smarty/libs/plugins/modifier.regex_replace.php:25)

in modifier.regex_replace.php line 35

I searched all public_html and it is declared only where the error came from. It is not declared twice.


and by categories I see that I encounter this problem 

(1/1) FatalErrorException Error: Cannot redeclare smarty_function_math() (previously declared in /home/admin/web/vivax.ro/public_html/vendor/smarty/smarty/libs/plugins/function.math.php:24) in function.math.php line 24

Edited by Bogdan96x (see edit history)

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More