Fatal error after update to 2.0.1
-
Hello,
There’s a critical error after the update to 2.0.1 version:
Warning: require(WPGDPRC.php): failed to open stream: No such file or directory in …..\wp-content\plugins\wp-gdpr-compliance\wp-gdpr-compliance.php on line 55
Fatal error: require(): Failed opening required ‘WPGDPRC.php’ (include_path=’.’) in ……\wp-content\plugins\wp-gdpr-compliance\wp-gdpr-compliance.php on line 55
Could you please check it? Thanks.
-
Not to hijack the thread, but we’ve come across the same exact problem after the update.
We are checking if the class
'WPGDPRC\WPGDPRC'
exists (it was present in a previous version of a plugin), and your autoloader is immediately trying to load the file WPGDPRC.php without checking if it exists first.While our check is the problem in this particular case, it’s merely a symptom. You might want to update your autoloader to check for the existence of a file before trying to load it. For example, something like this http://joxi.ru/RmzDN0OtjP9RaA would be preferable to the current http://joxi.ru/v29zoxeHRo036A.
Same thing with me, just crashed after update, blocking access even to the admin screen.
@ mitchellem
Sorry to hear that.
Could you please attach a complete PHP error log of the issue, and all of the relevant versions? WordPress core, PHP, which themes, etc, etc.
We need more information to investigate the issue,Thanks in advance.
Thanks for getting back.
@apjdias shared the information that will help you fix the problem:
We are checking if the class 'WPGDPRC\WPGDPRC' exists (it was present in a previous version of a plugin), and your autoloader is immediately trying to load the file WPGDPRC.php without checking if it exists first. While our check is the problem in this particular case, it’s merely a symptom. You might want to update your autoloader to check for the existence of a file before trying to load it. For example, something like this http://joxi.ru/RmzDN0OtjP9RaA would be preferable to the current http://joxi.ru/v29zoxeHRo036A.
Thanks
We would like to know the underlying issue before determining what the best solution to the problem is. This issue was also raised in the tread of someone else. https://wordpress.org/support/topic/critical-error-after-2-0-update/
So if you could please provide us with a complete PHP error log of the issue including a stack trace, and all of the relevant versions information such as WordPress core, PHP, which themes and plugins are active etc.
Thanks again.
PHP Version 7.4.4
Current version: 5.8.1Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 55 of the file D:\OSPanel\domains\wordpress.loc\wp-content\plugins\wp-gdpr-compliance\wp-gdpr-compliance.php. Error message: require(): Failed opening required ‘WPGDPRC.php’ (include_path=’.’)Hello,
it seems the autoloader fails to load the WPGPRDC.php file because it does not exist.Warning: require(WPGDPRC.php): failed to open stream: No such file or directory in /*****************/wp-content/plugins/wp-gdpr-compliance/wp-gdpr-compliance.php on line 55
Warning: require(WPGDPRC.php): failed to open stream: No such file or directory in /*****************/wp-content/plugins/wp-gdpr-compliance/wp-gdpr-compliance.php on line 55
Fatal error: require(): Failed opening required ‘WPGDPRC.php’ (include_path=’.:/opt/plesk/php/7.4/share/pear’) in /*****************/wp-content/plugins/wp-gdpr-compliance/wp-gdpr-compliance.php on line 55
Thanks
Me too after update to v2.0.1:
[19-Oct-2021 14:42:58 UTC] PHP Warning: require(WPGDPRC.php): failed to open stream: No such file or directory in www/wp-content/plugins/wp-gdpr-compliance/wp-gdpr-compliance.php on line 55 [19-Oct-2021 14:42:58 UTC] PHP Warning: require(WPGDPRC.php): failed to open stream: No such file or directory in www/wp-content/plugins/wp-gdpr-compliance/wp-gdpr-compliance.php on line 55 [19-Oct-2021 14:42:58 UTC] PHP Fatal error: require(): Failed opening required 'WPGDPRC.php' (include_path='www/wp-content/plugins/backwpup/vendor/pear/archive_tar:www/wp-content/plugins/backwpup/vendor/pear/console_getopt:www/wp-content/plugins/backwpup/vendor/pear/pear-core-minimal/src:www/wp-content/plugins/backwpup/vendor/pear/pear_exception:.:/opt/alt/php72/usr/share/pear') in www/wp-content/plugins/wp-gdpr-compliance/wp-gdpr-compliance.php on line 55
WP Version: 5.8.1
PHP Version: 7.2
Installed plugins:advanced-custom-fields-pro/ backwpup/ classic-editor/ contact-form-7/ elementor/ essential-grid/ mailchimp-for-wp/ mp-timetable/ old-style-admin-ui/ revslider/ search-filter/ trx_addons/ wordfence/
Please update to version 2.0.2.
The autoloader has been updated to check the file before requiring it.Thank you!
Hi,
I have the same problem after updating to version 2.0.1
WP 5.72
PHP 7.2Warning: require(WPGDPRC.php): failed to open stream: No such file or directory in /volume1/web/wordpress/wp-content/plugins/wp-gdpr-compliance/wp-gdpr-compliance.php on line 55 Fatal error: require(): Failed opening required ‘WPGDPRC.php’ (include_path=’.:/usr/share/pear’) in /volume1/web/wordpress/wp-content/plugins/wp-gdpr-compliance/wp-gdpr-compliance.php on line 55
I can’t even log in to the admin secton or dashboard.
- The topic ‘Fatal error after update to 2.0.1’ is closed to new replies.