ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Error: TypeError: 'undefined' is not a function (evaluating 'g.ee_focus')

September 05, 2013 11:21pm

Subscribe [1]
  • #1 / Sep 05, 2013 11:21pm

    songdogtech

    10 posts

    After an upgrade from 2.2.2 to 2.7, I get this javascript error in admin that cripples some admin functions.

    TypeError: ‘undefined’ is not a function (evaluating ‘g.ee_focus’) in admin.php:1089

    I replaced the whole codeigniter/system folder with no luck. Any ideas?

    Thanks

  • #2 / Sep 06, 2013 12:04am

    arvinsim

    23 posts

    I got the same problem and I found the solution. It means that your theme/ folder was not updated properly because ee_focus is not included anymore in 2.7

    Here is what I did

    - Backup my third party themes
    - Delete themes folder
    - Copy EE 2.7 themes folder to replace the themes folder I just deleted
    - Restored my third party themes

  • #3 / Sep 06, 2013 3:00pm

    songdogtech

    10 posts

    Thanks, I discovered that EE was loading an old themes folder because I dropped the site into a subfolder before the upgrade. Works fine now with no javascript errors in the console and with the newer default themes folder.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases