WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] [closed] "add media" and 'tags" not working when jetpack is activated?? (39 posts)

  1. paulbienkowski
    Member
    Posted 1 year ago #

    Yesterday I started getting problems with wordpress when writing a post. The add media and tag buttons were not responsive. Today we deactivated all plugins and reinstalled wordpress and then activated the plugins again.

    I have found that everything works until jetpack is activated again, then it stops working again.

    Does anyone know how to fix these problems?

    http://wordpress.org/extend/plugins/jetpack/

  2. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

    Can you try this and let me know the results?

    1. Load your blog's new post page.
    2. Using the Chrome browser, open the "View" menu and select "Developer -- JavaScript Console".
    3. In the newly-opened panel, select the Console tab.
    4. Refresh the page.
    5. Click the "Add Media" button.

    At this point, there may be some errors in the console. Copy and paste them here. If not, let me know.

  3. deiseach
    Member
    Posted 1 year ago #

    I am having the same problem. When Tiled Galleries and/or Carousel are active in Jetpack, the Add Media button doesn't work. Nothing appears in the console in a New Post when they are inactive. When they are active, I get the following error message:

    Uncaught TypeError: Object function (a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
    a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])} has no method 'extend'

  4. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

    deiseach: What is the URL of your site?

  5. Basvanderveen
    Member
    Posted 1 year ago #

    I have the same problem. Had to deactivate Jetpack to add media to my post.

    When I clicked on the media it sometimes worked, but opened in the same window, whereas it normally opens in a pop-up screen.

  6. Basvanderveen
    Member
    Posted 1 year ago #

    There is no problem if Jetpack is activated but not connected to WordPress.com.

  7. deiseach
    Member
    Posted 1 year ago #

  8. gazouteast
    Member
    Posted 1 year ago #

    I'm having the same problem as the OP - though I'm specifically interested in adding media to pages rather than posts.
    Following Christopher's instructions, in the new page screen, on opening the javascript console, the following error is displayed -

    Uncaught Error: Syntax error, unrecognized expression: tr.portfolio_title, jquery.js:2

    After refreshing the page and clicking the add media button, no new errors appear, but no insert media popup appears either, nor does the new page screen move to the media gallery page or similar.

    Hovering over the add media button reveals this URL -
    http://treelocate.com/wp-admin/post-new.php?post_type=page#
    which to me says it's coded for adding a new page, not a new media element.

  9. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

    gazouteast: That error wouldn't be coming from Jetpack; what other plugins do you have installed?

  10. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

    deiseach: Can you try disabling your other plugins and see if that temporarily fixes the problem? If so, can you let me know which plugin did it?

  11. deiseach
    Member
    Posted 1 year ago #

    Will do. I'll disable all my plugins except for Jetpack and see what is causing the problem. Thanks for the feedback.

  12. paulbienkowski
    Member
    Posted 1 year ago #

    My problem was with another plugin. I disables them all and just left jetpack and it worked fine. I then activated them one by one thus finding the offending plugin. Many thanks for the assistance.

  13. paulbienkowski
    Member
    Posted 1 year ago #

    I now fee the problem has been resolved.

  14. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

    paulbienkowski: What was the other plugin?

  15. gazouteast
    Member
    Posted 1 year ago #

    Christopher,
    The "portfolio" function is within the theme. As the theme has been in use for over six months and survived quite a few WP core plus many plugins' upgrades, my money would be on something within JetPack having changed that has now broken a longstanding feature within the theme.

    In particular, the only upgrade run since the add media button last worked, has been Jetpack.

    Given that so many forum threads have been raised about this happening, then I feel the problem is not within all the other plugins and theme functions (of all the users reporting the problem) but within the latest iteration of JetPack.

    Given Nacin's lengthy investigations in WP 3.5 Beta regarding this topic, and the threads in Trac about the same topic, it could even be that something within the latest JetPack is intrinsically incompatible with WP 3.5 core.

    Shifting the blame to multiple other plugins and themes is therefore just a diversion when the WP core and JetPack are the common denominator for everyone having problems (although this problem did not manifest for me before upgrading JetPack).

    By elimination, everything worked until the latest upgrade to JetPack, ergo the problem is in JetPack.

  16. deiseach
    Member
    Posted 1 year ago #

    I checked out all my plugins and the winner is . . . Simple Slideshow. I suppose it makes sense that the two are not necessarily compatible. Now I know. Thanks once again for your feedback.

  17. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

    gazouteast: I'm not shifting blame; I'm just trying to get enough information in order to fix the problem. What theme are you using?

  18. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

    deiseach: Simple Slideshow includes its own custom version of five different JavaScript libraries rather than using the already-available versions that ship with WordPress. I'll send a note to the author to request that it not do that.

  19. Basvanderveen
    Member
    Posted 1 year ago #

    I'm also having problems with entering the text-version now, when Jetpack is enabled.

  20. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

    Basvanderveen, what other plugins do you have installed?

  21. gazouteast
    Member
    Posted 1 year ago #

    The theme we're using is CyberChimps' iFeature Pro v4.5.20 - this is a reactive theme and we're currently running a child theme for css tweaks.

    Plugins that affect images are -
    - NextGen Gallery (always upgraded to latest, and a key component of the overall site)
    - vSlider (currently v4.1.1)
    - WP Google Maps (v5.02)
    - JetPack (v2.1.1) - Carousel, Tiled Galleries, Photon, Mobile Theme, Infinite Scroll - all NOT active, all others active.

    Other Plugins -
    - Adminimise v1.8.0
    - Akismet v2.5.7
    - Better Recent Posts Widget v1.1.4
    - Contact Form Manager v1.2 (xyzScripts)
    - Social Profiles Widget v1.2.1
    - WordFence Security v3.5.1
    - WordPress SEO v1.3.4.3 (Joost de Valk)
    - WP Realtime Sitemap v1.5.4

  22. Basvanderveen
    Member
    Posted 1 year ago #

    Christopher,

    The Media-button error is caused by 'Find Me Elsewhere', by WPease Team.

    It looks like the text-error is history.

  23. paulbienkowski
    Member
    Posted 1 year ago #

    Christopher Finke:
    The plugin that was causing the problem was;

    CevherLike Facebook Like Popup Plugin
    Version 2.0 | By WPUSTA / NiCat AsaDov

    I have disabled it for now and will try again when I have the time to sort it.

    Once again many thanks for your help!

  24. gazouteast
    Member
    Posted 1 year ago #

    I'll repeat this Christopher as you didn't pick up on it earlier ...

    Hovering over the add media button reveals this URL -
    http://treelocate.com/wp-admin/post-new.php?post_type=page#

    which to me says it's coded for adding a new page, not a new media element.

    I'll also repeat that all of this and the many other errors I've reported, such as in-text inserted links not adding, have only manifested since JetPack was upgraded to 2.1.1 last Thursday.

  25. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

    gazouteast: Have you tried temporarily disabling other plugins and switching to a stock theme to see if the problems persist?

    I'll repeat this Christopher as you didn't pick up on it earlier ...

    The short answer is that the URL that is displayed in the status bar is irrelevant in this situation. You can confirm it on any stock WordPress installation.

  26. gazouteast
    Member
    Posted 1 year ago #

    Hi Christopher

    The URL that appears in the status bar at the bottom left in FireFox when you hover on the add media button also shows as embedded to the add media button when you examine the code in FireBug.

    How can that embedded action-URL be irrelevant? In other words, instead of being linked to trigger the media uploader popup, the button is linked to trigger the creation of a new page. However, clicking it does not refresh the page to a new/blank page editor, it just does nothing.

    The site is a fully operational site for an international company (albeit currently undergoing massive editing and new-content creation). If I was to disable it or drop it to a default theme, the Managing Director would have my head on a platter. Currently I have 3 content writers on-site twiddling thumbs waiting for this to be fixed, and they've been doing that since last Thursday when JetPack was upgraded.

    At present I'm thinking of killing JetPack and reinstalling the previous version until this gets sorted out, or even of ditching Jetpack completely and rolling back to WP-Stats + WordBooker + WP-to-Twitter (the three plugins I wanted JetPack to replace).

    However, the site's url is in a post above if you want to inspect it and advise me exactly what is wrong, or check on the JetPack servers for anything that's gone screwy in the account.

    I'm sorry to say that the old fairy tale about the emperor's new clothes keeps coming to mind - in the dozens of fault-report threads since 2.1.1 was released, the JetPack support team have blamed everything but JetPack and now seem to be successful in persuading many users that everything but JetPack is at fault, even though everything worked fine <u>before</u> this JetPack upgrade. Can no-one else see that it is JetPack that has broken so many other plugins and themes, and not the other way around? ... Hey look - JetPack has no clothes on. ;)

  27. gazouteast
    Member
    Posted 1 year ago #

    Just thinking - as all the problems are in the admin side of the site - please explain how dropping to twenty-X will prove or remove the glitches. It's not the public side experiencing problems.

  28. esmi
    Forum Moderator
    Posted 1 year ago #

    Themes can - and sometimes do - affect the admin side of WordPress.

  29. gazouteast
    Member
    Posted 1 year ago #

    OK esmi

    Christopher - a development ...

    Without doing anything to the site, the FireBug console is now returning the following info on the new PAGE editor only but not on the new post editor.

    Error: Syntax error, unrecognized expression: tr.portfolio_title,
    [Break On This Error] 	
    
    if (matchMedia(query).matches) {
    
    https://s2.wp.com/_static/??/wp-content/js/devicepx.js,/wp-content/js/postmessage.js,/wp-content/mu-plugins/notes/jetpack-notes.js?m=1354656609j (line 12)

    Clicking the add media button does not change that error, and does not add further code or result in the expected add media popup.

    On the add new POST page, the add media button now seems to be working. As I said, this behaviour has changed without changing anything on the site.

    Also new behaviour ...

    On the Add New PAGE page, highlighting some text and clicking the insert link button brings up the add link popup, but after entering the link details when clicking the add link button in the popup, the page refreshes to a completely blank Add New POST page ... losing anything that had been added to the New Page page.

    This makes the entire Add New Page script unusable.

  30. grantsmith
    Member
    Posted 1 year ago #

    Hi Gazouteast - I think it is an ifeature pro theme issue

    I've been having the same problem, if I run the firebug console I get this Error: Syntax error, unrecognized expression: tr.portfolio_title,

    If I hover over add media I get http://www.capesnakeconservation.com/wp-admin/post-new.php?post_type=page#

    If I hover over screen options I get http://www.capesnakeconservation.com/wp-admin/post-new.php?post_type=page#screen-options-wrap

    Within the text there is this: p><br data-mce-bogus="1"></p>

    There is one big difference though, I am not using JetPack at all.

    There is no change when I disabled all plugins but when I activate Twenty - 12 theme the problem is solved.

    I am only experiencing this issue when editing or trying to add a new page, posts are working 100%

    Again, JetPack is nowhere to be found on my site but I'm also using

    CyberChimps' iFeature Pro v4.5.20

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic