1. This area is dedicated to the support of our xF2 add-ons, for support of our xF1 add-ons please use the dedicated forums.
    Note that we only accept support question and bug reports in this section.

    For suggestions, please wait until xF2 stable is released as we'll reorganize our forum at that time and accept them.
Dismiss Notice
We have just posted about our product policy for XF2.
Click HERE to view it.

RM Marketplace INVOICING [RM MARKETPLACE]

Discussion in 'Add-Ons Support' started by virus9112002, Nov 26, 2018.

  1. virus9112002

    virus9112002 Member

    Joined:
    Sep 11, 2017
    Messages:
    37
    Likes Received:
    2
    Adress:
    Saudi Arabia
    Country:
    Location on Map:
    Hi, I got error when try Download invoice.
    Code:
    Server error log
    ErrorException: [E_WARNING] count(): Parameter must be an array or an object that implements Countable src/addons/XFA/RMMarketplace/vendor/pdf-invoicr/phpinvoice.php:351
    
    Stack trace
    #0 src/addons/XFA/RMMarketplace/vendor/pdf-invoicr/phpinvoice.php(351): XF::handlePhpError(2, '[E_WARNING] cou...', '/home/user...', 351, Array)
    #1 src/addons/XFA/RMMarketplace/vendor/pdf-invoicr/inc/fpdf/fpdf.php(334): phpinvoice->Header()
    #2 src/addons/XFA/RMMarketplace/vendor/pdf-invoicr/phpinvoice.php(405): FPDF->AddPage()
    #3 src/addons/XFA/RMMarketplace/vendor/pdf-invoicr/phpinvoice.php(245): phpinvoice->Body()
    #4 src/addons/XFA/RMMarketplace/Pub/View/Invoice.php(134): phpinvoice->render('INV180000000552...', 'I')
    #5 src/XF/Mvc/Renderer/AbstractRenderer.php(77): XFA\RMMarketplace\Pub\View\Invoice->renderRaw()
    #6 src/XF/Mvc/Renderer/Raw.php(41): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XFA\\RMMarketpla...', '', Array)
    #7 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Raw->renderView('XFA\\RMMarketpla...', '', Array)
    #8 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Raw), Object(XF\Mvc\Reply\View))
    #9 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'raw')
    #10 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
    #11 src/XF.php(329): XF\App->run()
    #12 index.php(13): XF::runApp('XF\\Pub\\App')
    #13 {main}
     
  2. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,626
    Likes Received:
    726
  3. virus9112002

    virus9112002 Member

    Joined:
    Sep 11, 2017
    Messages:
    37
    Likes Received:
    2
    Adress:
    Saudi Arabia
    Country:
    Location on Map:
    yes
    it's work with me before.
    but now I got error.
     
  4. virus9112002

    virus9112002 Member

    Joined:
    Sep 11, 2017
    Messages:
    37
    Likes Received:
    2
    Adress:
    Saudi Arabia
    Country:
    Location on Map:
    Can you check please.
     
  5. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,626
    Likes Received:
    726
    You have changed something on your server setup ?
     
  6. virus9112002

    virus9112002 Member

    Joined:
    Sep 11, 2017
    Messages:
    37
    Likes Received:
    2
    Adress:
    Saudi Arabia
    Country:
    Location on Map:
    I fix it by cheange PHP to 7.1
    it's not work with 7.2
     
  7. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,626
    Likes Received:
    726
    Ah, it might be possible that fpdf is not entirely compatible with fpdf
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice