Support » Plugin: Awesome Surveys » Javascript conflicts

  • I’ve see the posts about the “javascript loading…” message that does not go away and the response being to search for which thing is conflicting (stop all plugins, change the theme, etc.). Not really practical on a production site and if I do find the conflict, what then? What if I need that plugin/theme? Is there not another solution that doesn’t involve throwing out other useful tools to get this useful tool to work? It’s too early to tell if I’ll like this plugin, but it looks promising for what I’d like to accomplish, therefore it would be nice to get it to work…WITH everything else.

    https://wordpress.org/plugins/awesome-surveys/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Will Brubaker

    (@willthewebmechanic)

    Automattic Happiness Engineer

    Is there not another solution that doesn’t involve throwing out other useful tools to get this useful tool to work?

    Without knowing the root cause of the troubles you are having, no. Isolate the cause and go from there.

    Hi will

    I am having the same issue. I installed wordpress on my local machine for testing and installed awesome surveys plugin. This is the only plugin installed on wordpress. I have the default theme laoded in and have not done anything except installing your plugin but i keep getting stuck at loaing javascript….

    regards
    rameez

    I should add my localmachine is windows 7 and my test bed includes XAMPP and wordpress 4.5.x

    Plugin Author Will Brubaker

    (@willthewebmechanic)

    Automattic Happiness Engineer

    Howdy rameez,

    This is the only plugin installed on wordpress. I have the default theme laoded in and have not done anything except installing your plugin

    This is not reproducible under those conditions. When you say “default” theme, what is the name of that theme?

    Plugin Author Will Brubaker

    (@willthewebmechanic)

    Automattic Happiness Engineer

    Can you use your browser’s developer tools and see what JavaScript errors are in the console?

    hi i have turned on the developer tools it says “http://localhost/wp-admin/admin-ajax.php 500 (Internal Server Error)”. I am attaching a screenshot as well

    http://www.awesomescreenshot.com/image/1217115/1402b11bc2b001164786b2658d6d2932

    Plugin Author Will Brubaker

    (@willthewebmechanic)

    Automattic Happiness Engineer

    Thanks for that. Can you get the error message from the error log? Also, what version of PHP is used on the site?

    hi i am using latest php 7. Here is latest the error log message.
    PHP Fatal error: Uncaught Error: Function name must be a string in C:\\xampp\\htdocs\\wp-content\\plugins\\awesome-surveys\\includes\\PFBC\\Base.php:28\nStack trace:\n#0 C:\\xampp\\htdocs\\wp-content\\plugins\\awesome-surveys\\includes\\PFBC\\Element.php(23): Base->configure(Array)\n#1 C:\\xampp\\htdocs\\wp-content\\plugins\\awesome-surveys\\includes\\PFBC\\Element\\HTML.php(5): Element->__construct(”, ”, Array)\n#2 C:\\xampp\\htdocs\\wp-content\\plugins\\awesome-surveys\\includes\\class-awesome-surveys.php(512): Element_HTML->__construct(‘<div class=”sin…’)\n#3 C:\\xampp\\htdocs\\wp-content\\plugins\\awesome-surveys\\includes\\class-awesome-surveys-ajax-actions.php(303): Awesome_Surveys->get_form_preview_html(‘8’)\n#4 C:\\xampp\\htdocs\\wp-includes\\plugin.php(525): Awesome_Surveys_Ajax->generate_preview(”)\n#5 C:\\xampp\\htdocs\\wp-admin\\admin-ajax.php(89): do_action(‘wp_ajax_generat…’)\n#6 {main}\n thrown in C:\\xampp\\htdocs\\wp-content\\plugins\\awesome-surveys\\includes\\PFBC\\Base.php on line 28, referer: http://localhost/wp-admin/post.php?post=8&action=edit

    Plugin Author Will Brubaker

    (@willthewebmechanic)

    Automattic Happiness Engineer

    I haven’t got a PHP7 test environment (I guess I need to work on that) but that really shouldn’t make a difference. Can you make a screencast of the steps leading up to this – perhaps with something like http://recordit.co and send the link to that screencast so I can see if I can replicate the issue on my test environment.

    hi will here are the screencasts you asked for.

    I first run xampp and start apache and mysql.
    http://recordit.co/D80T9QahKk

    This is the second step
    http://recordit.co/yC2mATpSyy

    Let me know if you need any thing else from my side.
    regards
    rameez

    Plugin Author Will Brubaker

    (@willthewebmechanic)

    Automattic Happiness Engineer

    Hey, thanks for all of that. I set up a php7 test environment and I am now able to replicate this. I’m not sure when of if I’ll be able to fix it but it’s on my “to do” list.

    update i changed my php version to 5.xx and now it works. Everything else is the same.

    I was having the same issue with the java script loading error. I check php it was 5.5.
    Awesome survey has a conflict with another plugin: EasyRecipe
    Version 3.5.3208 | By EasyRecipe

    I hope this helps someone. Jim R

    Plugin Author Will Brubaker

    (@willthewebmechanic)

    Automattic Happiness Engineer

    @ramxis02 So, unfortunately I think this means the end of this plugin. I can’t make it compatible across all the versions of PHP. I will be removing the files from this repository soon. It will remain on github but will not be maintained.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Javascript conflicts’ is closed to new replies.