Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Dolibarr
  3. PHP Fatal error - Call to undefined method 'fetch_all'.

PHP Fatal error - Call to undefined method 'fetch_all'.

Scheduled Pinned Locked Moved Unsolved Dolibarr
14 Posts 3 Posters 234 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote last edited by
    #2

    Hi and welcome here. Do you have any more information for us about the context of the error?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mgan
      wrote last edited by
      #3

      Hi, well we do nothing. It is happening in the logs every 15 minutes. And the IT dev who helps us with some apps on cloudron told me to inform the cloudron support. He things it is a Cloudron cron error.
      The fetch_all error repeating every 15 minutes in the Cloudron logs is a Cloudron/Dolibarr v23 compatibility issue in the Cloudron cron runner script (cron_run_jobs_custom.php). This is not related to order validation and would need to be reported to Cloudron support.

      1 Reply Last reply
      0
      • jamesJ Online
        jamesJ Online
        james
        Staff
        wrote last edited by
        #4

        Hello @mgan
        So this log is from a Dolibarr app?
        Or some custom app?
        Please provide more details and best a step by step process to follow to reproduce this issue.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mgan
          wrote last edited by mgan
          #5

          Hello @james . Sorry for my lack of professionalism as this is all new to mew :).
          Yes , we have installed on the cloudron Dolibarr and n8n. Our IT devs said that is it a kind of incompatibility with dolibarr.
          As we dont yet use all the time those 2 apps, as we are still setting dolibarr to work properly i can not tell you when did this error started to happen. What i know that this lines in php logs is on every 15 minutes - so it seems even when we do nothing it gives this php error by it self. I dont know how to reproduce it as we didnt witness a problem on software or we dont use its full potential yet. The only thing is that dolibarr updated recently (i dont know when as it was set o autoamtic upgrade to latest version).

          1 Reply Last reply
          1
          • jamesJ james moved this topic from Support
          • jamesJ Online
            jamesJ Online
            james
            Staff
            wrote last edited by james
            #6

            Hello @mgan
            I have looked into this issue but was able to reproduce this error.
            Installed Dolibarr 23.0.0 org.dolibarr.cloudronapp@1.13.0 the latest Dolibarr version from the Cloudron Appstore.

            The error you have posted:

            @mgan said:

            <Apr 02 11:15:42 PHP Fatal error: Call to undefined method 'fetch_all'. From /app/pkg/cron_run_jobs_custom.php:135. in /app/code/htdocs/core/class/doldeprecationhandler.class.php on line 176>
            

            The file /app/pkg/cron_run_jobs_custom.php is from Cloudron.
            The module Scheduled jobs needs to be enabled, otherwise this will return and look like there is no error:

            /usr/bin/php /app/pkg/cron_run_jobs_custom.php
            ***** cron_run_jobs_custom.php (23.0.0) pid=80 ***** userlogin=firstadmin ***** 2026-04-02T12:17:55Z *****
            Error: module Scheduled jobs (cron) not activated
            

            With Scheduled jobs enabled, I can reproduce:

            /usr/bin/php /app/pkg/cron_run_jobs_custom.php
            ***** cron_run_jobs_custom.php (23.0.0) pid=81 ***** userlogin=firstadmin ***** 2026-04-02T12:18:47Z *****
            First admin user found is login 'admin', entity 0
            PHP Warning:  Undefined array key 3 in /app/pkg/cron_run_jobs_custom.php on line 118
            PHP Fatal error:  Call to undefined method 'fetch_all'. From /app/pkg/cron_run_jobs_custom.php:135. in /app/code/htdocs/core/class/doldeprecationhandler.class.php on line 176
            

            I am now looking to fix this issue.

            1 Reply Last reply
            0
            • jamesJ Online
              jamesJ Online
              james
              Staff
              wrote last edited by
              #7

              Hello @mgan

              I have solved the issue.
              An app update will be available soon.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mgan
                wrote last edited by
                #8

                Hi @james . Thank you very much. How to get this update when ready?

                1 Reply Last reply
                0
                • jamesJ Online
                  jamesJ Online
                  james
                  Staff
                  wrote last edited by
                  #9

                  Hello @mgan
                  Your Dolibarr app in cloudron will display that an update is available or update automatically.

                  1 Reply Last reply
                  1
                  • M Offline
                    M Offline
                    mgan
                    wrote last edited by james
                    #10

                    Hello @james . Is the udpate ready ? because i still obtain this error:
                    this is from today:

                    Apr 14 08:45:17 ***** cron_run_jobs_custom.php (23.0.0) pid=7 ***** userlogin=firstadmin ***** 2026-04-14T05:45:17Z *****
                    Apr 14 08:45:17 First admin user found is login 'mgan', entity 0
                    Apr 14 08:45:17 PHP Fatal error: Call to undefined method 'fetch_all'. From /app/pkg/cron_run_jobs_custom.php:135. in /app/code/htdocs/core/class/doldeprecationhandler.class.php on line 176
                    Apr 14 08:45:17 PHP Warning: Undefined array key 3 in /app/pkg/cron_run_jobs_custom.php on line 118
                    
                    1 Reply Last reply
                    0
                    • jamesJ Online
                      jamesJ Online
                      james
                      Staff
                      wrote last edited by
                      #11

                      Hello @mgan
                      The Dolibarr app update was already published 12 days ago
                      What app version of Dolibar are you currently using?

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mgan
                        wrote last edited by
                        #12

                        Hello @james . We use dolibarr v23

                        1 Reply Last reply
                        0
                        • jamesJ Online
                          jamesJ Online
                          james
                          Staff
                          wrote last edited by
                          #13

                          Hello @mgan
                          This information tells me you are using the Cloudron package version 1.13.0 so you are two versions behind.
                          Version 1.13.1 includes the fix for the cron job and version 1.13.2 updates Dolibarr to version 23.0.2
                          An app update should be available for your Dolibarr app.
                          Please see App Updates

                          1 Reply Last reply
                          1
                          • M Offline
                            M Offline
                            mgan
                            wrote last edited by
                            #14

                            Hello @james yes i found it. auto update was turned off so i updated now. Thank you.

                            1 Reply Last reply
                            2

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search