Title: bug plugin not functioning
Last modified: August 24, 2016

---

# bug plugin not functioning

 *  [npeiman](https://wordpress.org/support/users/npeiman/)
 * (@npeiman)
 * [11 years ago](https://wordpress.org/support/topic/bug-plugin-not-functioning/)
 * Upon submitting a survey the following error is returned
 * There was a problem in /home2/npeiman/public_html/moch10plantarfasciitis.com/
   wp-content/plugins/awesome-surveys/includes/class-awesome-surveys-ajax-actions.
   php on line 387 (bad array?) at 2015-05-20 18:19:29
 * _[ Phone number, Skype, email address and other contact info deleted. Please 
   do not post that here in these forums. ]_
 * [http://moch10plantarfasciitis.com](http://moch10plantarfasciitis.com)
 * [https://wordpress.org/plugins/awesome-surveys/](https://wordpress.org/plugins/awesome-surveys/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Will Brubaker](https://wordpress.org/support/users/willthewebmechanic/)
 * (@willthewebmechanic)
 * Automattic Happiness Engineer
 * [11 years ago](https://wordpress.org/support/topic/bug-plugin-not-functioning/#post-6151316)
 * Howdy Neil,
 * What version of Awesome Surveys are you using?
 * Was this an upgrade or a fresh install?
 *  Thread Starter [npeiman](https://wordpress.org/support/users/npeiman/)
 * (@npeiman)
 * [11 years ago](https://wordpress.org/support/topic/bug-plugin-not-functioning/#post-6151330)
 * Thanks very much for replying.
 * Give me a good email for you and I’ll send you all the screen shots that are 
   missing from this post.
 * This was a fresh install and the latest version available on WordPress.org (2.0.3).
   I attempted to check your homepage from the link on WordPress.org but it basically
   gives a 404 error. Also running the latest version of WordPress, 4.2.2. Here 
   are some stats from the server below. Having as much experience as I do, I disabled
   all the plugins I thought might be impacting yours however, I still got the same
   error. Ultimately, I uninstalled, then reinstalled and the array error disappeared.
   So I created a couple of test surveys. Problem is that after publishing and then
   logging out and coming back to this installation, the surveys were blank, none
   of the data I entered were there. I started from scratch, created new surveys,
   same results. Gave up, deactivated the plugin for the time being.
 * Server Info
    OS: Linux Server: Apache Hostname: moch10plantarfasciitis.com PHP
   v5.4.38 GD: bundled (2.1.0 compatible) Magic Quotes GPC: Off Memory Limit: 256.0
   MiB Max Upload Size: 64.0 MiB MYSQL v5.5.42-37.1
 * Here’s where I began,
 * Continuing on I added three elements.
 * Saved and previewed the results! All looked good for the most part. By the way,
   I think you need to be able to control the spacing between questions. Hopefully
   you are doing QA, at looking at the results on a PC, Tablet, and Phone.
 * I then logged out of the Admin interface and logged back in.
 * Went to My Surveys, so far so good right? Selected the my test survey.
 * And here’s the result when opening the survey. All my questions are gone, nothing
   there, very frustrating.
 * I spent a few hours creating and recreating, disabling other plugins, uninstalling
   and reinstalling. Ultimately what I’m looking for is the ability to send a customer
   an email, ask them to click on a link and it takes them to the survey. Also with
   respect to the following. If the option below, User must be logged in is checked,
   fine let them log in and go to the survey. If there’s no authentication I should
   be able to answer the questions in the survey, and then take the survey again,(
   from my perspective). This is especially important for testing to make sure that
   surveys appear as desired. Also, I’m at a loss to understand where a user/administrator
   can look/see the data collected. The survey is meaningless unless I can see the
   results. Anyway you’ve got a good work in progress and I think you’re moving 
   in the right direction. Also it wouldn’t be a bad idea to add a new element called
   spacer to separate questions into sections if someone wants to.
 * That’s all I’ve got for you for the moment. Be glad to look at it again when 
   you’re a little further along. But I would really like to know, where are the
   stats from completed surveys, do they exist?
 * _[ Contact info deleted again ]_
 *  Plugin Author [Will Brubaker](https://wordpress.org/support/users/willthewebmechanic/)
 * (@willthewebmechanic)
 * Automattic Happiness Engineer
 * [11 years ago](https://wordpress.org/support/topic/bug-plugin-not-functioning/#post-6151393)
 * Neil,
 * Thanks for all of that feedback.
 * Here’s what I think is happening that is causing the initial problem. There’s
   a lot going on in the survey builder and one of the things that happens is that
   a copy of the form is saved as a JSON encoded array of form elements – I believe
   that this bit of data isn’t being updated/saved like it should be.
 * Are you familiar with your browser’s development tools? If so, can you see any
   JavaScript errors in the console when building a survey?
 * > If there’s no authentication I should be able to answer the questions in the
   > survey, and then take the survey again
 * That is how it works
 * > where are the stats from completed surveys, do they exist?
 * [http://cl.ly/image/2D2Q3K303e0E/Surveys_%E2%80%B9_Will_the_Web_Mechanic_%E2%80%94_WordPress.png](http://cl.ly/image/2D2Q3K303e0E/Surveys_%E2%80%B9_Will_the_Web_Mechanic_%E2%80%94_WordPress.png)
 *  Plugin Author [Will Brubaker](https://wordpress.org/support/users/willthewebmechanic/)
 * (@willthewebmechanic)
 * Automattic Happiness Engineer
 * [11 years ago](https://wordpress.org/support/topic/bug-plugin-not-functioning/#post-6151395)
 * Neil,
 * I just pushed v2.0.4 to the repo – that’s an easier way to tell if JavaScript
   is not being loaded properly (I hope) The survey builder is now initially output
   with an overlay which blocks the UI. That overlay is then removed when the JavaScript
   is loaded, so what *should* happen is that if there are JavaScript errors you
   can’t build a survey at all.
 * > By the way, I think you need to be able to control the spacing between questions
 * I’ve done what I can with that – in all likelihood theme CSS will have more of
   an effect than the CSS included will. It is possible to completely disable the
   included CSS and let the theme’s CSS completely take over the display – or you
   can create some custom CSS.
 * Kind regards,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘bug plugin not functioning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/awesome-surveys_f9f9f9.svg)
 * [Awesome Surveys](https://wordpress.org/plugins/awesome-surveys/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-surveys/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-surveys/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-surveys/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-surveys/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-surveys/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Will Brubaker](https://wordpress.org/support/users/willthewebmechanic/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/bug-plugin-not-functioning/#post-6151395)
 * Status: not resolved