Bug 1471128 - Code needs to be updated for PHP 7.0.x and 7.1.x
Summary: Code needs to be updated for PHP 7.0.x and 7.1.x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: WebCalendar
Version: 26
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Patrick Monnerat
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-14 13:22 UTC by Jeff Voskamp
Modified: 2017-08-03 20:53 UTC (History)
1 user (show)

Fixed In Version: WebCalendar-1.2.7-9.fc26 WebCalendar-1.2.7-9.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-03 15:53:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jeff Voskamp 2017-07-14 13:22:14 UTC
Description of problem:
Warnings and fatal errors:
PHP Warning:  preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /usr/share/WebCalendar/includes/formvars.php on line 48, referer: https://cal.voskamp.ca/edit_entry.php?id=9764


PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /usr/share/WebCalendar/includes/menu/index.php:249\nStack trace:\n#0 /usr/share/WebCalendar/includes/init.php(155): include_once()\n#1 /usr/share/WebCalendar/week.php(238): print_header(Array, '', NULL, false, false, false, false)\n#2 {main}\n  thrown in /usr/share/WebCalendar/includes/menu/index.php on line 249, referer: https://cal.voskamp.ca/edit_entry.php?id=9764

Version-Release number of selected component (if applicable):
WebCalendar-1.2.7-7.fc26.noarch

How reproducible:
Set up an instance under fc24. upgrade to fc26. Look in 

Actual results:
"White screen of death".


Expected results:


Additional info:
Originally surfaced in FC25 (the first error).

Comment 1 Fedora Update System 2017-07-26 10:49:55 UTC
WebCalendar-1.2.7-9.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-be683b951d

Comment 2 Fedora Update System 2017-07-26 10:50:06 UTC
WebCalendar-1.2.7-9.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5731125498

Comment 3 Fedora Update System 2017-07-27 00:23:50 UTC
WebCalendar-1.2.7-9.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5731125498

Comment 4 Fedora Update System 2017-07-27 02:52:57 UTC
WebCalendar-1.2.7-9.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-be683b951d

Comment 5 Fedora Update System 2017-08-03 15:53:33 UTC
WebCalendar-1.2.7-9.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2017-08-03 20:53:00 UTC
WebCalendar-1.2.7-9.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.