Are you familiar with the SCRIPT_DEBUG constant available for WordPress? We would be curious to see more information for this case, and that constant will use the non-minified copies of js files, and provide a better call stack.
https://codex.wordpress.org/Debugging_in_WordPress#SCRIPT_DEBUG
Also, any differences in active plugins or active theme?
Thread Starter
maxxd
(@maxxd)
Thanks for the quick reply – turning on all debugging options gives this in output:
Fatal error: Declaration of CMB2_Type_Wysiwyg::render() must be compatible with CMB2_Type_Textarea::render($args = Array) in /path-to-content/wp-content/plugins/constant-contact-forms/vendor/CMB2/includes/types/CMB2_Type_Wysiwyg.php on line 16
And continues to throw the jQuery(…).sortable is not a function error, reporting jQuery v=1.12.4 and tinymce-shortcode-script.js v=5.4.7.2
-
This reply was modified 7 years, 11 months ago by
maxxd. Reason: typo
Thread Starter
maxxd
(@maxxd)
There is a discrepancy in PHP versions – I hadn’t noticed that. I assume @constantcontact is working on this?
Version 1.3.7 will include the updated copy of CMB2, but we have not yet released it yet. Hopefully soon.
Here’s an early release copy of what we have in 1.3.7 at the present moment: https://www.dropbox.com/s/vp01v7k5w5mgm25/constant-contact-forms20182404.zip?dl=0
Hopefully this resolves that portion of the issue, and we can resume the jQuery aspect.
Thread Starter
maxxd
(@maxxd)
Just installed and it works – thank you very much!
Did the update fix all the issues? Not just the fatal error part?
Other than that, it sounds like maybe the two servers were on different PHP versions and that’s where the conflict came from.
Thread Starter
maxxd
(@maxxd)
Update fixed the fatal error, which in turn fixed the jQuery error. The site appears to be good to go – thank you again!