WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Add Media not working after 3.5.2 upgrade (23 posts)

  1. singinglawlady
    Member
    Posted 1 year ago #

    I cannot add media in any of my posts or pages.

    Console in Chrome Browser says there is an error.
    "uncaught typeerror: object [object Object] has no method 'pointer'"

    Any ideas on how to fix this?

  2. Troy Dunn
    Member
    Posted 1 year ago #

    @singinglawlady - When you say that you can't add media, you're clicking on the "Add Media" button/link and no window is popping up?

  3. singinglawlady
    Member
    Posted 1 year ago #

    Yes, that's exactly what happens. There appears to be an error. What can I do?

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Have you tried another browser? Have you tried clearing your cache and cookies in Chrome?

  5. singinglawlady
    Member
    Posted 1 year ago #

    @WPyogl - Yes, I deleted all my browsing history/cache. I tried Firefox and Safari. No luck. In the console in Chrome,

    Here is a picture of the error in the Chrome Console: http://bit.ly/132tDpa

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Have you tried deactivating all plugins and switching to the twentytwelve theme?

  7. singinglawlady
    Member
    Posted 1 year ago #

    I am managing this website for someone, so I don't want to jack with the theme. Would switching themes mess with the widgets and header images, etc.?

  8. Troy Dunn
    Member
    Posted 1 year ago #

    Switching back and forth between themes can cause issues with a live site.

    One idea you might try is installing the "Use Google Libraries" plugin. Sometimes WordPress and your plugins use different versions of jquery and other libraries. This can cause problems like WordPress windows not opening or admin menu issues. This plugin standardizes the libraries, resolving some conflicts.

  9. singinglawlady
    Member
    Posted 1 year ago #

    Will this plugin fix the error?

    Do you have any idea why out of the blue the "Add Media" window stops popping up? On my personal site, I upgraded and didn't have an issue?

  10. singinglawlady
    Member
    Posted 1 year ago #

    @Troy Dunn • THANK YOU!! Installing that plugin fixed my problem! THANK YOU THANK YOU THANK YOU!!!

  11. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Switching themes is a very standard troubleshooting step and it should not cause permanent problems/changes.

    Sounds like it's something with the theme or plugins on the site in question.

  12. Troy Dunn
    Member
    Posted 1 year ago #

    I can't say for sure if the plugin will fix the error but it might and if it doesn't, you can simply uninstall the plugin.

    I don't know why the "Add Media" window stopped popping up. I know that WordPress updated TinyMCE and I assume this has something to do with it. My guess is that there is a conflict with a version of jqury in one of your friends plugins.

  13. singinglawlady
    Member
    Posted 1 year ago #

    @Troy Dunn • Now the hyperlink button is not working in my posting. When I click on it, the hyperlink window doesn't come up.

  14. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    What is the site in question?

    Try checking for JavaScript errors -

    http://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors

  15. singinglawlady
    Member
    Posted 1 year ago #

    @WPyogl • The link to the site is HERE.

  16. singinglawlady
    Member
    Posted 1 year ago #

    Also, I don't have FTP access so I can't edit the wp-config.

  17. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I can only suggest you try the standard troubleshooting steps then - deactivate plugins first - as one may be the culprit.

  18. Troy Dunn
    Member
    Posted 1 year ago #

    @singinglawlady - If you tried installing and activating the "Use Google Libraries" plugin and your hyperlink window stopped working, deactivate and uninstall that plugin. Especially if it didn't fix the original issue.

  19. singinglawlady
    Member
    Posted 1 year ago #

    @Troy Dunn - The Google Libraries plug fixed the "Add Media" issue, but the hyperlink is a problem now. I will try uninstalling the plug in and reinstalling it.

    @WPyogl • I will try that too. Thanks.

  20. Troy Dunn
    Member
    Posted 1 year ago #

    If you installed the plugin and it fixed the "Add Media" issue but broke the hyperlink window, it is a jqury conflict.

    You might want to try narrowing down where the issue is coming from by deactivating all of your plugins and testing the media/hyperlink buttons.

    If they are working, turn on half of the plugins and test again. Rinse and repeat until you can narrow down the problem.

  21. dat_J
    Member
    Posted 1 year ago #

    I had the same problem with add media button when i updated my wp 3.5.2... and i resolved it, in my function.php file i delete some pice of code which is translated howdy text and that all(I mean check your functions php file if there some pice of code which incompletable ) I hope it is helps to someone and sorry for my english:)

  22. trickynek
    Member
    Posted 1 year ago #

    @dat_J - can you tell us what you deleted from your code that fixed the problem?

  23. dat_J
    Member
    Posted 1 year ago #

    /****** Customize admin message "Howdy" to "Welcome" ******/
    $nohowdy = "Hello!";
    
    if (is_admin()) {
        add_action('init', 'artdev_nohowdy_h');
        add_action('admin_footer', 'artdev_nohowdy_f');
    }
    // Load jQuery
    function artdev_nohowdy_h() {
        wp_enqueue_script('jquery');
    }
    // Modify
    function artdev_nohowdy_f() {
    global $nohowdy;
    echo <<<JS
    <script type="text/javascript">
    //<![CDATA[
    var nohowdy = "$nohowdy";
    jQuery('#user_info p')
        .html(
        jQuery('#user_info p')
            .html()
            .replace(/Howdy/,nohowdy)
        );
    //]]>
    JS;
    }
    
    add_filter('gettext', 'change_howdy', 10, 3);
    
    function change_howdy($translated, $text, $domain) {
    
        if (!is_admin() || 'default' != $domain)
            return $translated;
    
        if (false !== strpos($translated, 'Howdy'))
            return str_replace('Howdy', 'Hello', $translated);
    
        return $translated;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic