• Resolved Ian H

    (@ian-helliwell)


    Hi

    Since WP upgraded to 4.8.1 and WordPress app for Android updated to 7.9.0 (then 7.9.1, then 8.0) and JetPack 5.2.1 every attempt to post from the WP app generates and “Invalid Term ID error”.

    I created a bare-bones install of WP and started adding the theme and plug-ins that I use on my site. WP app posts fine until I install Jetpack – then the errors start. If I deactivate Jetpack and restart the phone, the WP app posts fine. Activate Jetpack and the errors start immediately.

    Whilst the WP app support people are being helpful, they do not have a fix for this. Is this something that needs fixing at the JetPack end – or maybe the Jetpack and WP app for Android developers could discuss what the root cause could be?

    Btw – the error log on the WP app starts with warnings related to long types being possibly misinterpreted by xmlrpc.php before the “Volley error Invalid Term ID” errors which stop the app posting – is this a clue??

    Here are the relevant errors from the log:

    70 – [Aug-17 08:54 API] Volley error on https://newbie.rucksackclub.org/xmlrpc.php – exception: org.wordpress.android.fluxc.network.xmlrpc.XMLRPCFault: Invalid term ID.
    71 – [Aug-17 08:54 API] StackTrace: com.android.volley.VolleyError: org.wordpress.android.fluxc.network.xmlrpc.XMLRPCFault: Invalid term ID.
    at org.wordpress.android.fluxc.network.xmlrpc.XMLRPCRequest.parseNetworkResponse(XMLRPCRequest.java:64)
    at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:125)
    Caused by: org.wordpress.android.fluxc.network.xmlrpc.XMLRPCFault: Invalid term ID.
    at org.wordpress.android.fluxc.network.xmlrpc.XMLSerializerUtils.deserialize(XMLSerializerUtils.java:84)
    at org.wordpress.android.fluxc.network.xmlrpc.XMLRPCRequest.parseNetworkResponse(XMLRPCRequest.java:61)
    … 1 more

    72 – [Aug-17 08:54 API] Dispatching action: AuthenticationAction-AUTHENTICATE_ERROR
    73 – [Aug-17 08:54 API] Dispatching action: PostAction-PUSHED_POST
    74 – [Aug-17 08:54 POSTS] Post upload failed. GENERIC_ERROR: Invalid term ID.

    Weird thing is, if I deactivate Jetpack – it all works fine.

    Any help or pointers are much appreciated as I really need Jetpack on my main site. I’m happy to supply any other information such as the full WP App for Android log if this helps…

    Regards Ian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    The WordPress Apps can connect to your sites in two ways, using your site’s xmlrpc.php file directly or using the sync’ed data from the Jetpack plugin – it seems like your Jetpack plugin although could be showing as connected on your end is actually not connected properly:

    https://jetpack.com/support/debug/?url=https%3A%2F%2Fnewbie.rucksackclub.org

    Can you try these steps:

    1. Disconnect from Jetpack if it says that you are connected on the Jetpack page
    2. Deactivate Jetpack on your Plugins page
    3. Use this plugin to remove the Jetpack data from your database:

    https://github.com/automattic/jetpack-addons/archive/add/jp-rm-options.zip

    4. Deactivate and remove the new plugin.
    5. Try to re-activate and connect to Jetpack again.

    Let me know how that goes.

    I am also having this issue and my draft posts are only saving to my device and are not syncing to my website when I tried to access draft posts from another device. I deactivated Jetpack and restarted my phone but still am still receiving the same ‘invalid id’ error message.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP app on Android – posts fail with Jetpack installed’ is closed to new replies.