ManualContent.php | Fatal error: Uncaught Error: Call to undefined function _() #169
-
|
After installing weberp into laragon and completing setup I clicked the Manual button to find this: Fatal error: Uncaught Error: Call to undefined function _() in path\to\weberp\ManualContents.php:21 Stack trace: #0 {main} thrown in path\to\weberp\ManualContents.php on line 21 Then I opened the ManualContents.php file in editor and changed the lines from this: to this: Now when I click on Manual from dashboard, the page appears properly |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I suspect that you don't have the php-gettext extension installed which is why nobody else has reported this. If this extension is not installed webERP tries to use a different system, but this is only included inside session.php. You should probably get the extension installed if it is not. That said your fix is good in any case, so I would raise a pull request for it. Tim |
Beta Was this translation helpful? Give feedback.
I suspect that you don't have the php-gettext extension installed which is why nobody else has reported this. If this extension is not installed webERP tries to use a different system, but this is only included inside session.php. You should probably get the extension installed if it is not.
That said your fix is good in any case, so I would raise a pull request for it.
Tim