• Tested this new plugin on two customer sites (luckily staging), on both on them the sites crashed with a PHP Fatal Error.

    Fatal error: Uncaught Error: Class ‘BpostShippingPlatform’ not found in /…/wp-content/plugins/bpost-shipping-platform/includes/class-woo-Bpost.php:1134
    Stack trace: 0 /…/wp-content/plugins/bpost-shipping-platform/includes/class-woo-Bpost.php(101): BpostWoo::Bpost_check_upgrade() 1 /…/wp-content/plugins/bpost-shipping-platform/Bpost.php(59): BpostWoo::instance() 2 /…/wp-admin/includes/plugin.php(2387): include_once(‘/…/bpost-shipping-…’) 3 /…/wp-admin/plugins.php(194): plugin_sandbox_scrape(‘bpost-shipping-…’) 4 {main} thrown


    It seems like the plugin tries to use the BpostShippingPlatform class before it is loaded.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello, try replacing the class “BpostShippingPlatform” (because it simply does not exist) with “BpostWoo”… It’s a temporary fix, but if you’re waiting to hear from them, good luck.

    Thread Starter Dave Loodts

    (@davelo)

    Thanks.
    You know, this bug is quit remarkable and says enough about the quality of how it is tested. On every site we have tested this plugin, it crashed immediately. It’s bizar that bPost has not seen this.

    What a shit… I tried several older versions already in the previous months… No one was working properly… Seems dev team has serious lack of knowledge in PHP/WP/WC dev…
    Support team needs 5 days to come back to you and feed back is absolutely non sense and inappropriate, because they (means call center agents with no technical nor dev skills of course) do not understand your concern and seems not be able (or authorised) to communicate with the dev teams. Really a public company of another century…
    Hopefully an older version developed by external peoples (Antidot I guess) is still working properly… But no more maintained by Antidot, nor supported by Bpost.
    So one day in the future we should face an issue due to incompatibilities even with newer WP/WC versions, or newer PHP versions or plugins, if internal dev team does not learn and become capable to test and deliver a working product and to follow basics WP/WC dev guidelines… (maybe with some help of consultants or external devs)… Cross fingers and pray ….

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Fatal error crash’ is closed to new replies.