Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
Moderator: Thorsten
Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
Hi,
I have just upgraded phpMyFAQ form 2.6.4 to 2.6.7 and everything thing went smooth apart from:
When using the ASK QUESTION page, after pressing the SUBMIT button, I get the following error displayed:
phpMyFAQ notice [8]: Undefined property: stdClass::$thema in savequestion.php on line 169
Any ideas as to how I can rectify this?
Regards,
AidyPie
I have just upgraded phpMyFAQ form 2.6.4 to 2.6.7 and everything thing went smooth apart from:
When using the ASK QUESTION page, after pressing the SUBMIT button, I get the following error displayed:
phpMyFAQ notice [8]: Undefined property: stdClass::$thema in savequestion.php on line 169
Any ideas as to how I can rectify this?
Regards,
AidyPie
Last edited by AidyPie on Tue Aug 17, 2010 3:13 pm, edited 2 times in total.
Re: Upgrading from 2.64 to 2.7 Causes errors in savequestion.php
Hi,
do you mean 2.6.7 or 2.7.0-alpha?
bye
Thorsten
do you mean 2.6.7 or 2.7.0-alpha?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Upgrading from 2.64 to 2.7 Causes errors in savequestion.php
Hi,Thorsten wrote:Hi,
do you mean 2.6.7 or 2.7.0-alpha?
bye
Thorsten
My Apologies, I do mean 2.6.7
I ahve correct my title and post content to reflect this for other who may search on this same issue.
Regards,
AidyPie
Re: Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
Hi,
I found the issue, here's the fix: http://github.com/thorsten/phpMyFAQ/com ... 73a603bea7
Thanks for the hint!
bye
Thorsten
I found the issue, here's the fix: http://github.com/thorsten/phpMyFAQ/com ... 73a603bea7
Thanks for the hint!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
Thanks Thorsten, this works a treat!Thorsten wrote:Hi,
I found the issue, here's the fix: http://github.com/thorsten/phpMyFAQ/com ... 73a603bea7
Thanks for the hint!
bye
Thorsten

Re: Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
I am real sorry, it appears I did not test this properly.
After putting in the suggested fix I now get this error:
This is on the refreshed page that appears saying:
Thank you for your suggestion!
After putting in the suggested fix I now get this error:
Code: Select all
phpMyFAQ recoverable error [4096]: Argument 1 passed to PMF_Faq::addCategoryRelations() must be an array, null given, called in D:\Websites\ComfySales\live\faq\save.php on line 108 and defined in Faq.php on line 984
phpMyFAQ warning [2]: Invalid argument supplied for foreach() in save.php on line 113
Thank you for your suggestion!
Re: Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
Ooops, my mistake! I didn't select a category with my test post!AidyPie wrote:I am real sorry, it appears I did not test this properly.
After putting in the suggested fix I now get this error:This is on the refreshed page that appears saying:Code: Select all
phpMyFAQ recoverable error [4096]: Argument 1 passed to PMF_Faq::addCategoryRelations() must be an array, null given, called in D:\Websites\ComfySales\live\faq\save.php on line 108 and defined in Faq.php on line 984 phpMyFAQ warning [2]: Invalid argument supplied for foreach() in save.php on line 113
Thank you for your suggestion!
I also notice if a user does as I have in FireFox, that when they press the "One Page back" button, all the fields they filled will be empty?
Re: Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
Hi,
this will be also fixed in 2.6.8, so please stay tuned.
bye
Thorsten
this will be also fixed in 2.6.8, so please stay tuned.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
I updated from 2.5.0 to 2.6.7 and had the same problem with the submit question. I saw that a fix would be out in 2.6.8.
I went on to check the Contact and that failed 3 times in a row the message was that there were required fields. I assume it meant one or more had not been filled. It had a list of the required ones but not which one failed. I then removed the CAPTCHA requirement. That caused both forms to work correctly and mail the message.
Hope this information helps.
I went on to check the Contact and that failed 3 times in a row the message was that there were required fields. I assume it meant one or more had not been filled. It had a list of the required ones but not which one failed. I then removed the CAPTCHA requirement. That caused both forms to work correctly and mail the message.
Hope this information helps.
Re: Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
Hi,
did you entered the captcha code correct? I couldn't reproduce your issue.
bye
Thorsten
did you entered the captcha code correct? I couldn't reproduce your issue.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
Yes I tried both several times. I thought I had made a mistake or something at first so I kept trying. I started with the add a question and failed it at least 3 times in a row. Later when trying the contact I tried it a couple times that is when I went to the admin section and removed the requirement. Both of them worked the first time after that.
I wish it was just me, then I could turn it back on.
Thanks for all your hard work on this faq over the years too.
I wish it was just me, then I could turn it back on.
Thanks for all your hard work on this faq over the years too.
Re: Upgrade from 2.64 to 2.6.7 Causes errors in savequestion.php
Hi,
okay, I try to reproduce that.
bye
Thorsten
okay, I try to reproduce that.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist