Jump to content

Smarty error


Frodo

Recommended Posts

Does anyone know how to solve this error?

 

Parse error: syntax error, unexpected 'fun' (T_STRING), expecting function (T_FUNCTION) in /home/admin/overweb/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php on line 4130

Link to comment
Share on other sites

The file is identical to the one on github. I don't understand the error.

nimonigi's suggestion was the correct one - re-uploading will often sort errors with WHMCS as files can become corrupt or incomplete on upload and so cause errors... and it can only take one error to cause WHMCS not to function correctly.

 

if re-uploading doesn't help (including uploading all of 'vendor' again from the WHMCS zip), then the next step would be to review the activity log and/or server logs to see what is triggering the error - it must be occurring because of an action taken by an admin, a client or by WHMCS itself (perhaps an addon you've installed)... if you can work out that, then you'll get further to discovering the fix.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated