Project

General

Profile

Actions

Bug #8931

closed

Service Watchdog PHP Errors

Added by Chris Linstruth over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Service Watchdog
Target version:
-
Start date:
09/23/2018
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4.4
Affected Plus Version:
Affected Architecture:
All

Description

PHP errors

PHP ERROR: Type: 1, File: /usr/local/pkg/servicewatchdog.inc, Line: 83, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/servicewatchdog.inc:83
Stack trace:
#0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): servicewatchdog_cron_job(true)
#1 /etc/inc/pkg-utils.inc(768): eval()
#2 /etc/inc/pkg-utils.inc(1036): eval_once('servicewatchdog...')
#3 /etc/rc.packages(78): delete_package_xml('Service_Watchdo...', 'deinstall')
#4 {main}
thrown @ 2018-09-23 18:36:36
Actions #1

Updated by Jim Pingle over 5 years ago

  • Assignee set to Jim Pingle
  • Affected Version set to 2.4.4
  • Affected Architecture All added
  • Affected Architecture deleted ()
Actions #2

Updated by Steve Wheeler over 5 years ago

After hitting that uninstalling I'm unable to re-install:

>>> Installing pfSense-pkg-Service_Watchdog... 
Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    pfSense-pkg-Service_Watchdog: 1.8.5 [pfSense]

Number of packages to be installed: 1
[1/1] Installing pfSense-pkg-Service_Watchdog-1.8.5...
[1/1] Extracting pfSense-pkg-Service_Watchdog-1.8.5: ......... done
Saving updated package information...
done.
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...
Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/servicewatchdog.inc:83
Stack trace:
#0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): servicewatchdog_cron_job()
#1 /etc/inc/pkg-utils.inc(768): eval()
#2 /etc/inc/pkg-utils.inc(854): eval_once('servicewatchdog...')
#3 /etc/rc.packages(74): install_package_xml('Service_Watchdo...')
#4 {main}
  thrown in /usr/local/pkg/servicewatchdog.inc on line 83
PHP ERROR: Type: 1, File: /usr/local/pkg/servicewatchdog.inc, Line: 83, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/servicewatchdog.inc:83
Stack trace:
#0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): servicewatchdog_cron_job()
#1 /etc/inc/pkg-utils.inc(768): eval()
#2 /etc/inc/pkg-utils.inc(854): eval_once('servicewatchdog...')
#3 /etc/rc.packages(74): install_package_xml('Service_Watchdo...')
#4 {main}
  thrownpkg-static: POST-INSTALL script failed
>>> Cleaning up cache... done.
Success

Actions #3

Updated by Jim Pingle over 5 years ago

  • Status changed from New to Feedback

Fix committed in Service Watchdog pkg version 1.8.6, which will be up shortly after 2.4.4-RELEASE

Actions #4

Updated by Steve Wheeler over 5 years ago

  • Status changed from Feedback to Resolved

Tested in current package version: pfSense-pkg-Service_Watchdog-1.8.6

No errors.

Actions

Also available in: Atom PDF