[wp-trac] [WordPress Trac] #64697: Getting fatal error on 7.0-beta.1
WordPress Trac
noreply at wordpress.org
Mon Feb 23 11:10:20 UTC 2026
#64697: Getting fatal error on 7.0-beta.1
--------------------------+------------------------------
Reporter: gautammkgarg | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: AI | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by gautammkgarg):
The culprit it Object Cache Drop In
{{{
\wp-content\object-cache.php
}}}
I have this file available in my workspace. I don't know from where did it
came. I don't know how does it work. I think I have not installed it. This
file is causing the issue.
**Here is the content of Object Cache file**
{{{#!php
<?php
// Set constant to be able to later check for whether this file was
loaded.
define( 'WP_PLUGIN_CHECK_OBJECT_CACHE_DROPIN_VERSION', 1 );
function plugin_check_initialize_runner() {
$plugins_dir = defined( 'WP_PLUGIN_DIR' ) ? WP_PLUGIN_DIR :
WP_CONTENT_DIR . '/plugins';
$plugin_dir = $plugins_dir . '/plugin-check/';
if ( ! file_exists( $plugin_dir . 'vendor/autoload.php' ) ) {
return;
}
require_once $plugin_dir . 'vendor/autoload.php';
if ( class_exists(
'WordPress\Plugin_Check\Utilities\Plugin_Request_Utility' ) ) {
// Initialize the Check Runner class based on the request.
WordPress\Plugin_Check\Utilities\Plugin_Request_Utility::initialize_runner();
}
}
plugin_check_initialize_runner();
}}}
This file autoloads the composer libraries of plugin-check plugin. plugin-
check plugin also have AI related files, which are little different than
the files that comes with 7.0-beta1. That's why they are causing the
conflict.
Either we need to fix this object cache file, or we need to update AI
files in plugin-cleck plugin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64697#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list