WordPress.org

Ready to get started?Download WordPress

Forums

Cant edit posts through the Text editor (12 posts)

  1. rossebow
    Member
    Posted 1 year ago #

    I can't seem to edit any posts through the Edit Posts page

    in the Admin section I am getting the following errors:

    Two of these on every page:

    Uncaught TypeError: Cannot read property 'length' of undefined

    And this on the Edit Post page:

    Uncaught TypeError: Object [object Object] has no method 'uniqueId'

    I've tried the wp-config edits:

    define('CONCATENATE_SCRIPTS', false );
    define('SCRIPT_DEBUG', true)

    but to no avail!

    And finally my error log is showing no PHP errors.

    Ross

  2. keesiemeijer
    moderator
    Posted 1 year ago #

    Try:
    - reading the troubleshooting 3.5 master list to see if any of your problems is listed there: http://wordpress.org/support/topic/troubleshooting-wordpress-35-master-list

    - flushing any caching plugins you might be running, as well as server and/or browser caches.

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems.

    - re-uploading all files & folders - except the wp-content folder from a fresh download of WordPress. by using FTP or whatever file management application your host provides (Manual Update).

    - re-running the upgrade via wp-admin/upgrade.php

  3. rossebow
    Member
    Posted 1 year ago #

    I had done all that was suggested except the plugins, as when I previously deactivated them they didn't reactivate properly.

    I took a copy of the site and it seems to be the Jetpack plugin that causing most of my troubles.

  4. keesiemeijer
    moderator
    Posted 1 year ago #

    You may have some JavaScript errors or conflicts.
    Uncaught TypeError: Cannot read property 'length' of undefined

    This guide will show you how to diagnose JavaScript issues in different browsers: http://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors

    Please report the javascript errors in this topic so we can identify what files are causing trouble

  5. RussNealPhoto
    Member
    Posted 1 year ago #

    I am still not able to edit any pages or add anything to them.

    Wordcount is 0 which is worrying.

    I have deactivated all plugins and reinstalled wordpress 3.5

  6. keesiemeijer
    moderator
    Posted 1 year ago #

    @RussNealPhoto

    Please create your own topic:
    http://wordpress.org/support/forum/how-to-and-troubleshooting#postform

  7. rossebow
    Member
    Posted 1 year ago #

    Uncaught TypeError: Cannot read property 'length' of undefined - on line 1 of /wp-includes/js/jquery/jquery.js?ver=1.8.3

    Uncaught TypeError: Object [object Object] has no method 'uniqueId' on line 5 of /wp-includes/js/jquery/ui/jquery.ui.menu.min.js?ver=1.9.2

    are the two errors I'm still getting! disabling plugins didnt seem to help!

    Errors are showing in Chrome

    In firfox the errors are as follows:

    e is undefined on line 1 of /wp-includes/js/jquery/jquery.js?ver=1.8.3

    and this.element.uniqueId is not a function on line 5 of /wp-includes/js/jquery/ui/jquery.ui.menu.min.js?ver=1.9.2

    SCRIPT_DEBUG did not resolve the issue

  8. keesiemeijer
    moderator
    Posted 1 year ago #

    Can you also show us the contents of your .htaccess file.

  9. rossebow
    Member
    Posted 1 year ago #

    It was a lot more complex but I cut it back to the following to see if the issue was there:

    BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  10. kg69design
    Member
    Posted 1 year ago #

    I have the same situation.

  11. kg69design
    Member
    Posted 1 year ago #

    The reason of that issue in my case was "kk Star Ratings" plugin.

  12. kg69design
    Member
    Posted 1 year ago #

    "kk Star Ratings" plugin fixed this in Version 2.2

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.