ronbme
Forum Replies Created
-
Thanks, Ollie.
Yes, I usually use the upgrade script unless there are errors and then I do a manual upgrade.
When I look at “results” I only see the answers to the first question. I set WP_DEBUG to “true” and I get errors. The errors are: “Notice: Undefined index: count in \wp-survey-and-quiz-tool\pages\admin\poll\result.php on line 66.”
I also get the same errors for line 69 and 72. So obviously, “count” is not defined and that is why I can’t get the answers for the other questions.
Ron
I ran debug and now I’m getting an undefined index on line 31.
The index is $pollName which is “Favorite reality show”.I created another poll and called it “Newpoll”. I didn’t get the error on results. I also got the output on the var_dump instead of NULL.
I think the problem could be that “Favorite reality show” was converted to “Favorite Reality Show” and since it didn’t match, I got the “undefined error”.
I’ll try another poll with at least three words in the title and see if it generates an error.
UPDATE
I can confirm what the problem is.I created another poll titled “My new poll” with two sections. After taking the poll I looked at results and got the same errors.
I went back and changed [wpsqt_survey name=”My new poll”] to [wpsqt_survey name=”My New Poll”] with caps for the first letter of each word, and NO ERRORS.
I also went back to my WP MultiSite installation and got the same results. So, it wasn’t anything caused by multisite.
Just a suggestion but you might want to have the option to use the poll/quiz/survey id instead of the name. That eliminates the possibility of misspelling, caps, etc. I find it easier to enter the id myself.
Ron
Ok. Thanks. I checked out the database and I think the problem might be that the answers aren’t being saved. I need to look a little deeper. Maybe I should add more quizzes.
I just did a quiz on the single install and I didn’t get any errors. It is strange that in results, I got a “fail” when the questions were answered correctly and showed 100%.
BTW, why is it that you have a [wpsqt_quiz name=””] and a [wpsqt_survey name=””], but not [wpsqt_poll name=””]?
Thanks,
RonI’m using localhost for testing.
I’ll have to check on quizzes/surveys. I think there was a similar problem on one of them.
Thanks Ollie. I suggested that a “Compatible with MultiSite” be added to plugins. It seems MS is causing problems with some other plugins too.
I’ll try your plugin on a WP 3.2.1 single install and see what I get.
UPDATE
Just tried the same poll on single install of WP 3.2.1 and got the same error.Sorry, I had to help someone upgrade their computer.
I get a NULL and the same error.
Ok. Will do.
It is: string(21) “Favorite Reality Show”.
Ollie, just tried the poll several times. Now I get the same results error but it is on line 31.
I just found another error on surveys. “Single results” works. “Total results” produces the following error: Warning: Invalid argument supplied for foreach() in \wp-survey-and-quiz-tool\pages\admin\surveys\result.total.php on line 8
I think you’re getting closer. There are a couple of other things but they’re mainly cosmetic.
Thanks. I’ll download it and give it a try. I won’t use the Upgrade.
I just got a new error. This was in a poll.
The error is: Warning: Invalid argument supplied for foreach() in \wp-survey-and-quiz-tool\pages\admin\poll\result.php on line 26
I did an upgrade after installing ver. 2.4.1. and it added a column. Then I took the test poll again and still got the same error.
I just created a second poll and I’m getting the same error.
Ollie, yes it was on a poll. I upgraded to ver. 2.4.1 this morning and it seems to be working now.
Thanks.
I can activate now but I get different errors.
When I try to edit or delete questions, I get the error: No such Wpsqt_Page_Main_Questionedit_Poll class
I haven’t tried this on WP 3.2.1 or WP 3.2.1 MS.
I got the same error.
This was on WP 3.1.4 MultiSite.
Forum: Everything else WordPress
In reply to: Suggestion for Plugin DirectoryThanks. It didn’t used to be a problem, but I’m seeing more plugins which are not Multisite compatible with WP 3.2
I guess the best thing is to ask the author if it is MS compatible.