What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.

Support Cannot view invoice

GameNet

Member
I cannot view any invoice in my dashboard here a video what I meant

It’s saying
An exception occurred: [ParseError] syntax error, unexpected '(', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in src/addons/XFA/RMMarketplace/vendor/pdf-invoicr/phpinvoice.php on line 55

  1. XFA\RMMarketplace\Pub\View\Invoice->renderRaw() in src/XF/Mvc/Renderer/AbstractRenderer.php at line 77
  2. XF\Mvc\Renderer\AbstractRenderer->renderViewObject() in src/XF/Mvc/Renderer/Raw.php at line 41
  3. XF\Mvc\Renderer\Raw->renderView() in src/XF/Mvc/Dispatcher.php at line 332
  4. XF\Mvc\Dispatcher->renderView() in src/XF/Mvc/Dispatcher.php at line 303
  5. XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 44
  6. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
  7. XF\App->run() in src/XF.php at line 328
  8. XF::runApp() in index.php at line 13
 
Please post what's on line 55 of the src/addons/XFA/RMMarketplace/vendor/pdf-invoicr/phpinvoice.php file
 
Ok this should be fixed.
FPDF version is getting a bit old and has some remaining incompatibilities with newest php version.
 
I never figured that out (as I had it), the php intl extension is needed for this to work.

This would be done by adding this line to the php.ini:
extension=ext/php_intl.dll
 

From bespoke add-on development to complex integrations and specialized enhancements, we offer a range of XenForo development services designed to help your community thrive.

Start discussing your needs
Back
Top
Cart