Title: Errors in v2.9
Last modified: October 24, 2018

---

# Errors in v2.9

 *  Resolved [zebrahosting](https://wordpress.org/support/users/zebrahosting/)
 * (@zebrahosting)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/errors-in-v2-9/)
 * Since the update to v2.9 we have errors in the console and issues with the editor
   not switching to visual / text / elementor.
 * It seems also the learndash plugin is affected, switching it off helps on some
   bu not all dev sites.
 * Switching of AIO solves all issues. Console error:
    Uncaught TypeError: Cannot
   read property ‘length’ of undefined at countChars (sfwd_module.min.js?ver=2.5.9:
   1) at HTMLInputElement.<anonymous> (aioseop_module.js?ver=2.9:870) at Function.
   each (jquery.js?ver=1.12.4:2) at a.fn.init.each (jquery.js?ver=1.12.4:2) at aiospinitCounting(
   aioseop_module.js?ver=2.9:869) at aiospinitAll (aioseop_module.js?ver=2.9:843)
   at HTMLDocument.<anonymous> (aioseop_module.js?ver=2.9:634) at i (jquery.js?ver
   =1.12.4:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2) at Function.
   ready (jquery.js?ver=1.12.4:2) wp-auth-check.min.js?ver=63e504db43f18f72e14b12bdb956b749:
   1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined at HTMLDocument.
   <anonymous> (wp-auth-check.min.js?ver=63e504db43f18f72e14b12bdb956b749:1) at 
   HTMLDocument.dispatch (jquery.js?ver=1.12.4:3) at HTMLDocument.r.handle (jquery.
   js?ver=1.12.4:3) at Object.trigger (jquery.js?ver=1.12.4:3) at Object.a.event.
   trigger (jquery-migrate.min.js?ver=1.4.1:2) at HTMLDocument.<anonymous> (jquery.
   js?ver=1.12.4:3) at Function.each (jquery.js?ver=1.12.4:2) at a.fn.init.each (
   jquery.js?ver=1.12.4:2) at a.fn.init.trigger (jquery.js?ver=1.12.4:3) at Object.
   <anonymous> (heartbeat.min.js?ver=63e504db43f18f72e14b12bdb956b749:1) (anonymous)
   @ wp-auth-check.min.js?ver=63e504db43f18f72e14b12bdb956b749:1 dispatch @ jquery.
   js?ver=1.12.4:3 r.handle @ jquery.js?ver=1.12.4:3 trigger @ jquery.js?ver=1.12.4:
   3 a.event.trigger @ jquery-migrate.min.js?ver=1.4.1:2 (anonymous) @ jquery.js?
   ver=1.12.4:3 each @ jquery.js?ver=1.12.4:2 each @ jquery.js?ver=1.12.4:2 trigger
   @ jquery.js?ver=1.12.4:3 (anonymous) @ heartbeat.min.js?ver=63e504db43f18f72e14b12bdb956b749:
   1 i @ jquery.js?ver=1.12.4:2 fireWith @ jquery.js?ver=1.12.4:2 y @ jquery.js?
   ver=1.12.4:4 c @ jquery.js?ver=1.12.4:4
 * We are running PHP 7.x on NGINX FPM

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

 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [7 years, 7 months ago](https://wordpress.org/support/topic/errors-in-v2-9/#post-10811257)
 * Hi [@zebrahosting](https://wordpress.org/support/users/zebrahosting/)
 * Thank you for reporting this. We’re aware of the problem, have fixed it, and 
   expect to have 2.9.1 released very soon.
 *  [druideniggi](https://wordpress.org/support/users/druideniggi/)
 * (@druideniggi)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/errors-in-v2-9/#post-10826091)
 * Version 2.9.1
    Notice: Undefined variable: post_typ/htdocs/wp-content/plugins/
   all-in-one-seo-pack/aioseop_class.php on line 4253 intext:”Plugin: All in One
   SEO Pack”
 * Theme: Storefront 2.3.5
 * Problem only with product search
 * Is there a solution to this problem?
 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [7 years, 7 months ago](https://wordpress.org/support/topic/errors-in-v2-9/#post-10826289)
 * [@druideniggi](https://wordpress.org/support/users/druideniggi/)
 * Yes, we have an issue open to fix it. In the meantime, turn off debug logging
   on your production site. Fortunately it’s only a notice, not an error, so you
   can safely ignore it.
    -  This reply was modified 7 years, 7 months ago by [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/).
 *  [druideniggi](https://wordpress.org/support/users/druideniggi/)
 * (@druideniggi)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/errors-in-v2-9/#post-11056911)
 * Problem solved. Despite turning off the global debug mode, another problem was
   caused by a different plugin in which the debug mode was enabled in the default
   settings.
    problem solved

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

The topic ‘Errors in v2.9’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [druideniggi](https://wordpress.org/support/users/druideniggi/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/errors-in-v2-9/#post-11056911)
 * Status: resolved