Closed verenaroe closed 1 year ago
Hi @verenaroe , do you have a staging environment ? can you share an access to our email "dhlsupport [at] progressusmarketing.com"
thank you!
Thank you very much for your fast reply!
Invitation from the staging environment sent to dhlsupport [at] progressusmarketing.com
Here is the page to see the error message: https://cbgb.eat-this.org/wp-content/plugins/steady-connect/steady_callback.php
@verenaroe Thank you! we will check it and let you know.
I think our autoload files in the plugin are causing this and are interfering together. I will take a look at it and let you know.
Okay so the error is that wp-load is accessing your code before your autoloader is loaded. If I add this line on top of wp-load it works:
include_once( '../dhl-for-woocommerce/includes/class-pr-dhl-autoloader.php' );
require_once __DIR__ . '/../../../wp-load.php';
Now I have to find out how I can write my Plugin, so it doesn't depend on wp-load anymore. I think it's my fault then, maybe just nice to know for you I saw the same error message in the wordpress forum so I thought it's an error in the dhl plugin. https://wordpress.org/support/topic/new-version-3-4-1-created-a-fatal-error-on-our-website/
I copied Code from my Theme to a separate Plugin.
I do this at the very beginning of my Plugin code:
When it's running I get the following error:
As soon as I deactivate the plugin there's no error.
Uninstall and reinstall the newest version of the plugin didn't fixed the error. WordPress Version: 6.2.2