[Koha-bugs] [Bug 27820] New: plugins_nightly.pl script fails with: Undefined subroutine &main::cronlogaction

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 1 07:47:55 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27820

            Bug ID: 27820
           Summary: plugins_nightly.pl script fails with: Undefined
                    subroutine &main::cronlogaction
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Plugin architecture
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: solaris.smoke at gmail.com
        QA Contact: testopia at bugs.koha-community.org

The new plugins_nightly.pl script that was introduced in Koha 20.11.03 doesn't
work - it fails with the following error:

/etc/cron.daily/koha-common:
Undefined subroutine &main::cronlogaction called at
/usr/share/koha/bin/cronjobs/plugins_nightly.pl line 8.

The issue appears to be a missing import - from looking at other files that use
cronlogaction, the following is missing from this file:

use C4::Log;

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list