Did you just install this for the first time or did you upgrade the plugin? Maybe not all of the files were copied over to the plugin folder?
Hi @shadim,
I got the same problem, tried versions 2.2.4 and 2.2.5.
PHP Fatal error: Uncaught Error: Class 'PR\DHL\REST_API\Drivers\WP_API_Driver' not found in /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-deutsche-post.php:117
Stack trace:
#0 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-deutsche-post.php(77): PR_DHL_API_Deutsche_Post->create_api_driver()
#1 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-factory.php(104): PR_DHL_API_Deutsche_Post->__construct('NL')
#2 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(391): PR_DHL_API_Factory::make_dhl('NL')
#3 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(250): PR_DHL_WC->get_dhl_factory()
#4 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(200): PR_DHL_WC->get_pr_dhl_wc_product()
#5 /home/j6noi206yu/domains/godert.me/web/wp/ in /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-deutsche-post.php on line 117
Fatal error: Uncaught Error: Class 'PR\DHL\REST_API\Drivers\WP_API_Driver' not found in /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-deutsche-post.php:117
Stack trace:
#0 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-deutsche-post.php(77): PR_DHL_API_Deutsche_Post->create_api_driver()
#1 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-factory.php(104): PR_DHL_API_Deutsche_Post->__construct('NL')
#2 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(391): PR_DHL_API_Factory::make_dhl('NL')
#3 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(250): PR_DHL_WC->get_dhl_factory()
#4 /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(200): PR_DHL_WC->get_pr_dhl_wc_product()
#5 /home/j6noi206yu/domains/godert.me/web/wp/ in /home/j6noi206yu/domains/godert.me/web/app/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-deutsche-post.php on line 117
Error: There has been a critical error on your website.Learn more about debugging in WordPress. There has been a critical error on your website.
Installed first time, Shadi.
Thanks.
@florisb Is this also the first time you are installing the plugin?
Can we continue this conversation via email, please contact me at “dhlsupport [at] progressusmarketing.comβ so I can review your site.
The same problem
Fatal error: Uncaught Error: Class ‘PR\DHL\REST_API\Drivers\WP_API_Driver’ not found in /var/www/latrika.com/data/www/latrika.com/wp-content/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-deutsche-post.php:117 Stack trace: #0 /var/www/latrika.com/data/www/latrika.com/wp-content/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-deutsche-post.php(77): PR_DHL_API_Deutsche_Post->create_api_driver() #1 /var/www/latrika.com/data/www/latrika.com/wp-content/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-factory.php(104): PR_DHL_API_Deutsche_Post->__construct(‘RU’) #2 /var/www/latrika.com/data/www/latrika.com/wp-content/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(406): PR_DHL_API_Factory::make_dhl(‘RU’) #3 /var/www/latrika.com/data/www/latrika.com/wp-content/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(252): PR_DHL_WC->get_dhl_factory() #4 /var/www/latrika.com/data/www/latrika.com/wp-content/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(202): PR_DHL_WC->get_pr_dh in /var/www/latrika.com/data/www/latrika.com/wp-content/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-deutsche-post.php on line 117
Latest Woo, WP and php 7.4
Have you used the plugin successfully before? It seems like all of the files were not downloaded and installed, you might want to delete the plugin and reinstall it.
@shadim
Thank you for the quick response.
No, It’s a fresh installation. I tried to delete and then install it again – the same problem π
And not plugin related question – can you help me to find a page where I can get credentials for the plugin?
We use this login page: https://mydhl.express.dhl/ru/ru/auth/login.html . But I can’t find any API related settings.
Thank you so much.
Which country is your webshop based in?
Unfortunately, the plugin does not support that country at the moment.
Oh, ok, got you. Thank you