denspad
Forum Replies Created
-
The issue is the Element Pack Pro plugin making an HTTP API request that times out after 30 seconds.
GET https://store.bdthemes.com/api/notices/api-data-by-product cURL error 28: Operation timed out after 30002 milliseconds with 0 bytes receivedElementPack\Notices->get_api_notices_data()
Plugin: bdthemes-element-pack3030.0029
BDThemes need to fix this ‘pronto’ as it is making peoples sites unmanageable through the WordPress admin. I have no idea why it repeatedly does this – or needs to for that matter!If you modify the /admin/admin-notice.php file and look for the call to the API and the add a return above this will bypass the check until the API is fixed and your admin will be responsive again!
/**
* Fetch and display notices from API
*/
public function show_api_notices() {
return; /* Bypass The Function Until The API Is Fixed */
$notices = $this->get_api_notices_data();You will see that line 357 of give_receipt.php is displayed as:
<? }
It is highly likely that you have short tags disable in your PHP.ini.
That said, the RFC for PHP states that it proposed that this short tag format for PHP is deprecated in a future release.
The developers really should therefore have this coded as
<?php }
Hope this helps.
Any update on a fix for this please? I purchased this plugin and have the same issue, it is now almost two months!!
- This reply was modified 6 years, 1 month ago by denspad.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Shop Header/LogoThank you resolved now.