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
8 Posts 3 Posters 29 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.
  • M Offline
    M Offline
    mgan
    wrote last edited by
    #1

    Only post Cloudron or server issues in this topic. Use the specific app category for app issues.

    • Please include a detailed description of the problem. Include screenshots when applicable.

    • Run cloudron-support --troubleshoot on your server and post the output here like this:

    <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>
    
    • Check for any errors in /home/yellowtent/platformdata/logs/box.log

    Delete everything above before making a new post.

    1 Reply Last reply
    0
    • nebulonN Away
      nebulonN Away
      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 Offline
          jamesJ Offline
          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 Offline
              jamesJ Offline
              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 Offline
                jamesJ Offline
                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

                  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