Support

Home Forums Community Forum Promo Codes Page Won't Load

Promo Codes Page Won't Load

Posted: October 28, 2016 at 10:40 am


John Lynn

October 28, 2016 at 10:40 am

I’m using EE3 and for some reason when I click to load the Promos code page, it loads the WordPress piece, but the list of codes just sits there on “Loading…” Makes it so I can’t change, delete, etc promo codes. I’ve had to resort to doing it in phpMyAdmin to change the discount. Ironically, I can add new codes, but it won’t show the list of codes that are already added.


Josh

  • Support Staff

October 28, 2016 at 10:43 am

Can you check your PHP error log and JavaScript console to see if an error is being thrown when that Loading.. message hangs?


John Lynn

October 28, 2016 at 11:06 am

Nothing in the PHP Error log.

I found this error in the JavaScript Console:
Uncaught TypeError: Cannot set property ‘_DT_CellIndex’ of undefined
at Ja (http://www.healthitmarketingconference.com/wp-content/plugins/contact-form-advanced-database//lib/js/jquery.dataTables.min.js?ver=1.10.6:24:188)
at N (http://www.healthitmarketingconference.com/wp-content/plugins/contact-form-advanced-database//lib/js/jquery.dataTables.min.js?ver=1.10.6:16:229)
at HTMLTableRowElement.<anonymous> (http://www.healthitmarketingconference.com/wp-content/plugins/contact-form-advanced-database//lib/js/jquery.dataTables.min.js?ver=1.10.6:16:342)
at http://www.healthitmarketingconference.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,quicktags&ver=4.6.1:2:932
at Function.map (http://www.healthitmarketingconference.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,quicktags&ver=4.6.1:2:3613)
at a.fn.init.map (http://www.healthitmarketingconference.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,quicktags&ver=4.6.1:2:900)
at ma (http://www.healthitmarketingconference.com/wp-content/plugins/contact-form-advanced-database//lib/js/jquery.dataTables.min.js?ver=1.10.6:16:307)
at HTMLTableElement.<anonymous> (http://www.healthitmarketingconference.com/wp-content/plugins/contact-form-advanced-database//lib/js/jquery.dataTables.min.js?ver=1.10.6:95:210)
at Function.each (http://www.healthitmarketingconference.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,quicktags&ver=4.6.1:2:2881)
at a.fn.init.each (http://www.healthitmarketingconference.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,quicktags&ver=4.6.1:2:846)


Josh

  • Support Staff

October 28, 2016 at 11:13 am

If you deactivate the Contact Form Advanced plugin, does the site allow loading the promo codes page? If so, then there should be a way to prevent the Contact Form Advanced scripts to load on every admin page where they’re not needed, and apparently breaking things.


John Lynn

October 28, 2016 at 11:18 am

That worked. I’ll figure out how to make sure it doesn’t conflict. Thanks!

The support post ‘Promo Codes Page Won't Load’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso