Loading...
 

Tikiwiki-devel (mailman list mirror)


Fatal error trying to upgrade to Tiki 18 ("Call to a member function urldecode() on null") (was Tiki upgrade fatal error (15.4 -> 18.0))

posts: 126137 United Kingdom


Thanks Chealer, you're right - left a note on https://dev.tiki.org/item6561 (Asa: any chance you could look at it? I don't have any tests for that upgrade script, or any idea what it does actually ;)

jb



> On 9 Mar 2018, at 17:24, Cloutier, Philippe (DGARI-Consultant) <Philippe.Cloutier.externe@mern-mffp.gouv.qc.ca> wrote:

>
> Hi Jonny,
>
>> De : Jonny Bradley mailto:jonny@tiki.org
>> Envoyé : 9 mars 2018 05:50
>> À : Tiki developers <tikiwiki-devel@lists.sourceforge.net>
>> Objet : Re: Tiki-devel Tiki upgrade fatal error (15.4 -> 18.0)
>>
>> Hi Ilkka
>>
>> Hmm, my fix should be in 18.1 i would have thought, can you check in your copy of parser/parserlib.php and see what's on line 3680 please? It should be:
>> $htmlLinks1 = array_filter($htmlLinks1);
>> which i thought would remove NULL values from that array... (that code it really weird, needs rewriting properly one day ;)
>
>
> Please see the bug report, the actual problem is explained there. If any question remains, thanks for asking in the bug report.
>
>>
>> Thanks
>>
>> jb
>>
>>
>>
>>
>>
>>
>>> On 8 Mar 2018, at 21:03, Ilkka Oksanen <iao@iki.fi> wrote:
>>>
>>> Hi Jonny,
>>>
>>> Unfortunately I see the same problem still with 18.1:
>>>
>>> Fatal error: Uncaught Error: Call to a member function urldecode() on null in /home/kipinapartio/tiki-18.1/lib/parser/parserlib.php:3689 Stack trace: #0 /home/kipinapartio/tiki-18.1/installer/schema/20171123_create_object_links_tiki.php(18): ParserLib->get_pages('Lippukuntamme k...') #1 /home/kipinapartio/tiki-18.1/installer/schema/20171123_create_object_links_tiki.php(43): \{closure}(Object(Installer), 'article', '34', 'Lippukuntamme k...') #2 /home/kipinapartio/tiki-18.1/installer/installlib.php(175): upgrade_20171123_create_object_links_tiki(Object(Installer)) #3 /home/kipinapartio/tiki-18.1/installer/installlib.php(130): Installer->installPatch('20171123_create...') #4 /home/kipinapartio/tiki-18.1/installer/tiki-installer.php(1049): Installer->update() #5 /home/kipinapartio/tiki-18.1/tiki-install.php(102): include_once('/home/kipinapar...') #6 {main\} thrown in /home/kipinapartio/tiki-18.1/lib/parser/parserlib.php on line 3689
>>>
>>> This happens during the DB migration step in the installer.
>>>
>>> -ilkka
>>>
>>>> On Mon, Mar 5, 2018 at 5:58 PM Jonny Bradley <jonny@tiki.org> wrote:
>>>> Hi all
>>>>
>>>> Have committed (woo!) a hopeful fix in 18.x in r65660 - let me know if it does the trick please?
>>>>
>>>> TIA
>>>>
>>>> jonny
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> On 5 Mar 2018, at 05:57, Bernard Sfez <me@bsfez.com> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> Having errors while upgrading from a lower stable version of Tiki to the actual stable is very frustrating.
>>>>>
>>>>> A week later,
>>>>> Do you still have this error ?
>>>>> Was it addressed and fixed by anyone or is there a workaround ?
>>>>> Was the ticket(s) not updated (issue fixed) ?
>>>>>
>>>>> Thanks to anyone that can help actual Tikiers to continue to enjoy of our great software.
>>>>>
>>>>> Bernard
>>>>>
>>>>>> On 28 Feb 2018, at 19:25 , Ilkka Oksanen <iao@iki.fi> wrote:
>>>>>>
>>>>>> I also filed this bug few weeks ago: https://dev.tiki.org/item6561
>>>>>>
>>>>>> Happy to test patches if needed
>>>>>>
>>>>>> -ilkka
>>>>>>
>>>>>> On Wed, Feb 28, 2018 at 8:00 AM Nagy Géza <geza.nagy@oregional.hu> wrote:
>>>>>> hey Jonny,
>>>>>>
>>>>>> I keep my eye on Tiki constantly :-)
>>>>>>
>>>>>> but yes, unfortunately not so much time recently, hope it will change
>>>>>>
>>>>>> anyway, thanks for the pointers, we are investigating
>>>>>>
>>>>>> cheers,
>>>>>>
>>>>>> gezza
>>>>>>
>>>>>> Nagy Géza
>>>>>>
>>>>>> Ügyvezető/CEO
>>>>>> Oregional Kft./Ltd.
>>>>>> geza.nagy at oregional.hu
>>>>>> oregional.hu
>>>>>>
>>>>>> 2018. 02. 15. 15:59 keltezéssel, Jonny Bradley írta:
>>>>>>> Hi Gezza
>>>>>>>
>>>>>>> Long time no Tiki? :-)
>>>>>>>
>>>>>>> I had a quick look but haven't had time to test properly but i think an array_filter call on that in the right place should avoid this error - Luis, wasn't 20171123_create_object_links_tiki.php one of yours?
>>>>>>>
>>>>>>> More soon hopefully...
>>>>>>>
>>>>>>> jonny
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> On 13 Feb 2018, at 20:18, Nagy Géza <geza.nagy@oregional.hu> wrote:
>>>>>>>>
>>>>>>>> HiAll,
>>>>>>>>
>>>>>>>> Thanks for all the efforts releasing Tiki18, it looks really nice!
>>>>>>>>
>>>>>>>> A fresh install run without problems, but when we made a test upgrade of a customer from Tiki15.4 to 18, we got this:
>>>>>>>>
>>>>>>>> Fatal error: Uncaught Error: Call to a member function urldecode() on null in /var/www/html/vitamindwiki/lib/parser/parserlib.php on line 3682
>>>>>>>>
>>>>>>>> Seems to be caused by 20171123_create_object_links_tiki.php
>>>>>>>>
>>>>>>>> Found this forum post, but there was no real resolution mentioned: https://tiki.org/tiki-view_forum_thread.php?forumId=6&threadId=67671&comzone=show
>>>>>>>>
>>>>>>>> Took a brief look, it leads to a regex at tikilib's urldecode function, but have not yet looked deeper
>>>>>>>>
>>>>>>>> Anyone encountered this?
>>>>>>>>
>>>>>>>> If so, thanks for any pointers
>>>>>>>>
>>>>>>>> thanks&cheers,
>>>>>>>>
>>>>>>>> gezza
>>>>>>>>
>>>>>>>> --
>>>>>>>> Nagy Géza
>>>>>>>>
>>>>>>>> Ügyvezető/CEO
>>>>>>>> Oregional Kft./Ltd.
>>>>>>>> geza.nagy at oregional.hu
>>>>>>>> oregional.hu
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.