in wp-config.php add define('SCRIPT_DEBUG', true);
When creating or editing chart data and clicking Save & Show Chart, the chart will not update. Console shows this error:
TypeError: win.visualizer.update is not a function
Seems to possibly be a race condition since visualizer is defined after the condition where the update function is added to the object.
]]>define( 'SCRIPT_DEBUG', true );
in my config file. (Per this page: https://codex.www.ads-software.com/Using_Your_Browser_to_Diagnose_JavaScript_Errors)
This seems to be helping. Is it okay to leave this in the config file long-term?
]]>Thank you.
]]>Add more filters
With the current version, it is hard to modify the HTML markup if you have bigger changes to make. I noticed there’s basically just one filter (wp_quiz_output
) developers can use to modify the quizes HTML.
You should consider adding filters to all methods called in WP_Quiz->render_public_quiz()
. You also should consider splitting these methods into smaller ones, each with a filter (e. g. get_continue_button()
).
Respect SCRIPT_DEBUG
Currently, all assets are enqueued minifed. WordPress has a handy constant called SCRIPT_DEBUG
(https://codex.www.ads-software.com/Debugging_in_WordPress#SCRIPT_DEBUG) which you should use to determine whether the assets should be enqueued minified or not. This would help debugging.
I look forward to your reply (althought I expect none …)
Thanks.
Why are there sourcemaps in the non-minified versions of the javascript files for this plugin?
For example, forms-api.js
has a sourcemap comment at the bottom. If I need to see the original script when a minified version is served, the sourcemap needs to be in the minified version or I could set define('SCRIPT_DEBUG', true);
in my wp-config.php
.
Is the sourcemap added to the non-minified version to allow a developer to copy it over to the minified version so testing can be done in a live environment without affecting other files being served by the site?
Thanks!
https://www.ads-software.com/plugins/mailchimp-for-wp/
]]>I deactivated all plugins, but still no joy. I have re-installed WP 4.2.4 twice, cleared caches, had GoDaddy server support look into it.
I have had the theme developers on my server and site today and have it working but only by setting define(‘SCRIPT_DEBUG’, true); in the wp-config.php file.
This also bought back the theme core plugin.
But obviously this is not satisfactory, can anyone suggest something?
Thanks.
]]>I changed the formatting.php file according to something I found:
if ( defined(‘SCRIPT_DEBUG’) && SCRIPT_DEBUG ) {
But it didn’t help.
Help is appreciated.
Homepage: https://www.desteklelystad.nl/
a screen shot to the page edit can be found here: https://stephaniewoolley.co.uk/?page_id=130
the site is stephaniewoolley.co.uk
]]>Uncaught SyntaxError: Unexpected token * jquery-migrate.js:40
Uncaught SyntaxError: Unexpected token * plupload.full.min.js:40
Uncaught SyntaxError: Unexpected identifier json2.js:43
Uncaught SyntaxError: Unexpected token * hoverIntent.js:40
Uncaught SyntaxError: Unexpected token ( wp-ajax-response.js:40
Uncaught SyntaxError: Unexpected token * jquery.query.js:40
Uncaught SyntaxError: Unexpected token * suggest.js:40
Uncaught SyntaxError: Unexpected token * jquery.ui.core.min.js:40
Uncaught SyntaxError: Unexpected token * jquery.ui.widget.min.js:40
Uncaught SyntaxError: Unexpected token * jquery.ui.mouse.min.js:40
Uncaught SyntaxError: Unexpected token * jquery.ui.sortable.min.js:40
Uncaught SyntaxError: Unexpected token * heartbeat.js:40
Uncaught SyntaxError: Unexpected token * thickbox.js:40
Uncaught ReferenceError: _ is not defined shortcode.js:142
Uncaught ReferenceError: _ is not defined wp-util.js:55
Uncaught ReferenceError: Backbone is not defined wp-backbone.js?ver=3.9.1:55
Uncaught ReferenceError: _ is not defined media-models.js?ver=3.9.1:86
Uncaught TypeError: Cannot read property ‘Attachments’ of undefined wp-plupload.js:410
Uncaught SyntaxError: Unexpected token * mediaelement-and-player.min.js:40
Uncaught ReferenceError: mejs is not defined wp-mediaelement.js:42
Uncaught ReferenceError: _ is not defined media-views.js:6565
Uncaught ReferenceError: _ is not defined media-editor.js:1076
Uncaught ReferenceError: _ is not defined media-audiovideo.js:957
Uncaught ReferenceError: _ is not defined wp-playlist.js:239
Uncaught ReferenceError: _ is not defined mce-view.js?ver=3.9.1:70
Uncaught SyntaxError: Unexpected token * jquery.imgareaselect.js:40
Uncaught SyntaxError: Unexpected token * plugin.js:40
Uncaught TypeError: undefined is not a function postbox.js?ver=3.9.1:72
If you need the specific codes line of any of these errors let me know and I’ll post it.
I’m not a programmer so I can’t get around a lot of this problems. I would appreciate any help anyone can give me concerning these issues. Thanks and advance!