Error Message when updating Wiki
#1
Original Poster
Join Date: Jul 2015
Location: London
Programs: BA GGL / GfL
Posts: 3,265
Error Message when updating Wiki
Hi
I (and several other members who have tried independently) get this error message when we try to update the BA Fleet Status Wiki (BA Fleet Status)
Error: Call to undefined function each() in /usr/share/pear/Text/Diff/Engine/native.php on line 195
The problem started on Friday and while people have been able to do singular updates (changing aircraft positions etc) on some parts of the Wiki, once you try more than 1 change or line item the error pops up.
Pilot37
I (and several other members who have tried independently) get this error message when we try to update the BA Fleet Status Wiki (BA Fleet Status)
Error: Call to undefined function each() in /usr/share/pear/Text/Diff/Engine/native.php on line 195
The problem started on Friday and while people have been able to do singular updates (changing aircraft positions etc) on some parts of the Wiki, once you try more than 1 change or line item the error pops up.
Pilot37
Last edited by Pilot37; Dec 5, 2022 at 4:28 am
#2
Join Date: Feb 2003
Location: On strike
Posts: 8,135
Seeing the same thing,
The error doesn’t occur 100% of the time. I can enter edit mode, make no changes, and save without any problem. I was also able just now to edit a different wiki in the Chase forum and save changes after making substantive edits.
I agree with @Pilot37 that this bug is of relatively recent vintage. I make a lot of wiki edits & have not encountered this problem until today.
FWIW, am using Safari/iPadOS.
Error: Call to undefined function each() in /usr/share/pear/Text/Diff/Engine/native.php on line 195
when attempting to edit the wiki at Booking American Airlines awardsThe error doesn’t occur 100% of the time. I can enter edit mode, make no changes, and save without any problem. I was also able just now to edit a different wiki in the Chase forum and save changes after making substantive edits.
I agree with @Pilot37 that this bug is of relatively recent vintage. I make a lot of wiki edits & have not encountered this problem until today.
FWIW, am using Safari/iPadOS.
#4
Join Date: Feb 2003
Location: On strike
Posts: 8,135
Perhaps related, perhaps not: I am also seeing cases where expanding the wiki doesn’t actually show the entire wiki (and there’s no way to see the omitted portion at the end without going into the editor). See the Booking American Awards wiki I linked to above for an example.
#6
Administrator
Join Date: Sep 2015
Location: Los Angeles
Programs: Internet Brands
Posts: 3,868
#9
Join Date: Dec 2011
Location: YYZ
Programs: AC SEMM / HH Diamond
Posts: 3,167
I'm seeing the same problem when editing the wiki in 2022 YYZ Do
I have recreated the problem using both the desktop and mobile skins
I have recreated the problem using both the desktop and mobile skins
#10
Join Date: Jul 2012
Programs: HH D
Posts: 1,641
Just did some updates to the Hilton properties joining/leaving-wiki. No error at all. Each() and every modification went smoothly. Has the 'line 195' related error been fixed?
Update: not it has not been fixed. But it looks like it works fine if you press "Edit" without first using "Click here to display Full Wiki". At least, today it did.
Update: not it has not been fixed. But it looks like it works fine if you press "Edit" without first using "Click here to display Full Wiki". At least, today it did.
Last edited by Sisosig; Dec 8, 2022 at 1:09 pm
#11
Original Poster
Join Date: Jul 2015
Location: London
Programs: BA GGL / GfL
Posts: 3,265
Just did some updates to the Hilton properties joining/leaving-wiki. No error at all. Each() and every modification went smoothly. Has the 'line 195' related error been fixed?
Update: not it has not been fixed. But it looks like it works fine if you press "Edit" without first using "Click here to display Full Wiki". At least, today it did.
Update: not it has not been fixed. But it looks like it works fine if you press "Edit" without first using "Click here to display Full Wiki". At least, today it did.
Pilot37
#12
Join Date: Feb 2003
Location: On strike
Posts: 8,135
Also still seeing error if I edit without expanding first. All I tried to do was delete some extra CRLFs; computer says no.
#14
Join Date: Jul 2012
Programs: HH D
Posts: 1,641
However, somehow I keep being able to move a hotel from one section to another ('opening soon' to 'now open'), even today. But similar modification (like changing the order of two short lines) will resort in the error.
In a quest to find a temprorary workaround, maybe we have to check FlyerTalk Forums - Recent Wikipost Changes and ask them why they managed to submit the change.