Title: XMLRPC not working while plugin is active
Last modified: June 19, 2019

---

# XMLRPC not working while plugin is active

 *  Resolved [Abel Bottello](https://wordpress.org/support/users/akerfeldt/)
 * (@akerfeldt)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/xmlrpc-not-working-while-plugin-is-active/)
 * Hi. It’s been a while since I cannot connect to my site from WordPress.com via
   Jetpack. The xmlrpc.php file doesn’t show anything, it should display “XML-RPC
   server accepts POST requests only”.
 * When I deactivate the plugin, the xmlrpc.php works fine, it displays the text
   and I can connect it to Jetpack.
 * How can I solve this?
 * SITE DETAILS:
 *     ```
           Operating System : Linux (64 Bit)
           Server : Apache
           Memory usage : 43.85 MByte
           MYSQL Version : 10.0.38-MariaDB
           SQL Mode : Not set
           PHP Version : 7.2.19
           PHP Safe Mode : Off
           PHP Allow URL fopen : On
           PHP Memory Limit : 256
           PHP Max Upload Size : 8M
           PHP Max Post Size : 8M
           PCRE Backtracking Limit : 1000000
           PHP Max Script Execute Time : 30s
           PHP Exif support : Yes (V7.2.)
           PHP IPTC support : Yes
           PHP XML support : Yes
   
           GD Version : bundled (2.1.0 compatible)
           FreeType Support : Yes
           FreeType Linkage : with freetype
           GIF Read Support : Yes
           GIF Create Support : Yes
           JPEG Support : Yes
           PNG Support : Yes
           WBMP Support : Yes
           XPM Support : Yes
           XBM Support : Yes
           WebP Support : Yes
           BMP Support : Yes
           JIS-mapped Japanese Font Support : No
       ```
   
    -  This topic was modified 6 years, 11 months ago by [Abel Bottello](https://wordpress.org/support/users/akerfeldt/).
    -  This topic was modified 6 years, 11 months ago by [Abel Bottello](https://wordpress.org/support/users/akerfeldt/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fxmlrpc-not-working-while-plugin-is-active%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * (@mihaiimagely)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/xmlrpc-not-working-while-plugin-is-active/#post-11655804)
 * Hi [@akerfeldt](https://wordpress.org/support/users/akerfeldt/),
 * We have heard of this issue back in time but it looks like a very tricky one 
   to investigate so our developers couldn’t get to the problem’s root so far.
 * I hope that you wouldn’t mind editing **wp-config.php** file and adding the following
   lines of code to it:
 *     ```
       define('NGG_DISABLE_SHUTDOWN_EXCEPTION_HANDLER', TRUE);
       define('NGG_DEBUG', TRUE);
       ```
   
 * This will allow an error to be written to the site error log (not to the browser);
   once somebody can provide that error log our developers can investigate this 
   again.
 * Thanks in advance!
    -  This reply was modified 6 years, 11 months ago by [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/).
    -  This reply was modified 6 years, 11 months ago by [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/).
 *  Thread Starter [Abel Bottello](https://wordpress.org/support/users/akerfeldt/)
 * (@akerfeldt)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/xmlrpc-not-working-while-plugin-is-active/#post-11657686)
 * Hi, thanks for the reply.
 * I’ve added those lines and tested the site, and as far as I can see, the site
   root’s error_log file is empty.
    -  This reply was modified 6 years, 11 months ago by [Abel Bottello](https://wordpress.org/support/users/akerfeldt/).
 *  [gabyimagely](https://wordpress.org/support/users/gabyimagely/)
 * (@gabyimagely)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/xmlrpc-not-working-while-plugin-is-active/#post-11657883)
 * Hello [@akerfeldt](https://wordpress.org/support/users/akerfeldt/)
 * I noticed that Mihai already added the forum link to an existing bug report.
   
   Let’s try to enable WordPress debug mode as well. Would that be fine?
 * > [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
 * This goes into the same wp-config.php file
 *     ```
       // Enable WP_DEBUG mode
       define( 'WP_DEBUG', true );
   
       // Enable Debug logging to the /wp-content/debug.log file
       define( 'WP_DEBUG_LOG', true );
   
       // Disable display of errors and warnings
       define( 'WP_DEBUG_DISPLAY', false );
       @ini_set( 'display_errors', 0 );
   
       // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
       define( 'SCRIPT_DEBUG', true );
       ```
   
 * Note: if you already have this code, please comment it first
 * `define( 'WP_DEBUG', false );`
 * Let us know how it goes.
    Many thanks!
 *  Thread Starter [Abel Bottello](https://wordpress.org/support/users/akerfeldt/)
 * (@akerfeldt)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/xmlrpc-not-working-while-plugin-is-active/#post-11658542)
 * Sorry, I already had it enabled.
 * This is the log:
 *     ```
       [20-Jun-2019 22:27:27 UTC] PHP Notice:  Undefined variable: useragent in /home/radiouas/public_html/wp-content/plugins/photoswipe-for-nextgen-gallery/ngg-photoswipe.php on line 13
       [20-Jun-2019 22:27:27 UTC] PHP Notice:  Undefined variable: useragent in /home/radiouas/public_html/wp-content/plugins/photoswipe-for-nextgen-gallery/ngg-photoswipe.php on line 13
       [20-Jun-2019 22:27:27 UTC] PHP Notice:  ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/radiouas/public_html/wp-includes/functions.php on line 4339
       ```
   
    -  This reply was modified 6 years, 11 months ago by [Abel Bottello](https://wordpress.org/support/users/akerfeldt/).
 *  [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * (@mihaiimagely)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/xmlrpc-not-working-while-plugin-is-active/#post-11659694)
 * Thanks, [@akerfeldt](https://wordpress.org/support/users/akerfeldt/)!
 * Although, I am not very sure if that will help our developers – I have informed
   them about the notices that you are getting.
 * We’ll keep you informed in case that we’ll have any news from them.

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

The topic ‘XMLRPC not working while plugin is active’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [xmlrpc](https://wordpress.org/support/topic-tag/xmlrpc/)

 * 5 replies
 * 3 participants
 * Last reply from: [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/xmlrpc-not-working-while-plugin-is-active/#post-11659694)
 * Status: resolved