WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#51229 new defect (bug)

Getting Fatal error class-wp-xmlrpc-server.php file

Reported by: ravimakwana68 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: XML-RPC Keywords: close
Focuses: Cc:

Description

Hi,

When I have checked in my error log and I find out one bug/error in class-wp-xmlrpc-server.php file.

error details: Fatal error: Class 'IXR_Server' not found in wordpressdemo\wp-includes\class-wp-xmlrpc-server.php on line 23

Thanks

Attachments (2)

Screenshot_283.png (24.0 KB) - added by ravimakwana68 3 months ago.
error log details
Screenshot_284.png (9.8 KB) - added by ravimakwana68 3 months ago.
php error log details

Download all attachments as: .zip

Change History (4)

@ravimakwana68
3 months ago

error log details

#1 @ravimakwana68
3 months ago

[03-Sep-2020 05:00:11 UTC] PHP Fatal error: Uncaught Error: Class 'IXR_Server' not found in /public_html/wp-includes/class-wp-xmlrpc-server.php:23 Stack trace: #0 {main} thrown in /public_html/wp-includes/class-wp-xmlrpc-server.php on line 23

@ravimakwana68
3 months ago

php error log details

#2 @SergeyBiryukov
3 months ago

  • Component changed from General to XML-RPC
  • Keywords close added

Hi there, welcome to WordPress Trac! Thanks for the report.

Just noting that similar errors also happen in many other wp-includes/*.php and wp-admin/includes/*.php files.

However, this is not a security issue, nor is it something that's intended to be "fixed" as it's not encountered during "standard usage". If WordPress is used on a production server, error displaying should be disabled, and/or direct access to the PHP files in the above directories should be disabled.

Some previous discussions: #35835, #38317.

Some other related tickets: #10367, #18715, #30103, #30806, #31663, #47154, #47945.

Note: See TracTickets for help on using tickets.