• Resolved Megan

    (@singinglawlady)


    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?

Viewing 7 replies - 16 through 22 (of 22 total)
  • I can only suggest you try the standard troubleshooting steps then – deactivate plugins first – as one may be the culprit.

    @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.

    Thread Starter Megan

    (@singinglawlady)

    @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.

    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.

    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:)

    @dat_j – can you tell us what you deleted from your code that fixed the problem?

    /****** 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;
    }
Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Add Media not working after 3.5.2 upgrade’ is closed to new replies.