[wp-trac] [WordPress Trac] #63783: Fix: uncaught exception error from wp-includes folder files

WordPress Trac noreply at wordpress.org
Sat Aug 2 18:35:47 UTC 2025


#63783: Fix: uncaught exception error from wp-includes folder files
--------------------------+-----------------------------
 Reporter:  harishtewari  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.8.2
 Severity:  critical      |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Stop direct loading of files in /wp-includes that should only be included.

 This Changeset restricts direct access call in /wp-includes and its
 subdirectories.

 Uncaught exception 'Error' with message 'Class
 "ParagonIE_Sodium_Core32_Util" not found' in /var/www/wp-
 includes/sodium_compat/src/Core32/Poly1305.php:10

 Uncaught exception 'Error' with message 'Class
 "ParagonIE_Sodium_Core_AES_KeySchedule" not found' in /var/www/wp-
 includes/sodium_compat/src/Core/AES/Expanded.php:10

 Uncaught exception 'Error' with message 'Class
 "ParagonIE_Sodium_Core_XChaCha20" not found' in /var/www/wp-
 includes/sodium_compat/namespaced/Core/XChaCha20.php:4

 Uncaught exception 'Error' with message 'Class "WP_Block_Supports" not
 found' in /var/www/wp-includes/block-supports/aria-label.php:64

 Uncaught exception 'Error' with message 'Class "WP_Dependencies" not
 found' in /var/www/wp-includes/class-wp-scripts.php:18

 Uncaught exception 'Error' with message 'Class "WP_REST_Controller" not
 found' in /var/www/wp-includes/rest-api/endpoints/class-wp-rest-search-
 controller.php:17

 Uncaught exception 'Error' with message 'Class "WpOrg\Requests\Exception"
 not found' in /var/www/wp-
 includes/Requests/src/Exception/ArgumentCount.php:20

 Uncaught exception 'Error' with message 'Interface
 "SimplePie\Cache\DataCache" not found' in /var/www/wp-
 includes/SimplePie/src/Cache/BaseDataCache.php:56

 Uncaught exception 'Error' with message 'Interface
 "WpOrg\Requests\Transport" not found' in /var/www/wp-
 includes/Requests/src/Transport/Curl.php:25

 https://github.com/WordPress/wordpress-develop/pull/9378

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63783>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list