• Resolved Anonymous User 16103310

    (@anonymized-16103310)


    After update to the latest version, I get this critical error An error of type E_COMPILE_ERROR was caused in line 69 of the file /home/example/public_html/wp-content/plugins/erp/vendor/composer/autoload_real.php. Error message: require(): Failed opening required '/home/example/public_html/wp-content/plugins/erp/vendor/composer/../google/apiclient/src/aliases.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear')

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Francisco Torres

    (@frantorres)

    I had the same issue.

    The error pops-up at /wp-admin/update-core.php

    I downloaded the source code version from their github, executed composer, replaced the rest of files with ones from the original compilation (looks like there is something that is not done by composer) and now it’s working fine for me.

    This is a bit tricky so I hope they publish a new version soon.

    • This reply was modified 2 years, 6 months ago by Francisco Torres. Reason: Found errors

    Same issue here. Have rolled back pending a fix.

    Hello @43digital / @frantorres / @abanista,

    Thank you for reaching out, our core development team has identified the issue and resolved it. Please delete the existing file and download again from the repo(Org).

    Feel free to let us know If the issue still persists.

    Kind regards,

    • This reply was modified 2 years, 6 months ago by Arif_me.
    • This reply was modified 2 years, 6 months ago by Arif_me.

    I got a similar fatal error after the update to Version 1.10.6. Will this get fixed with a new version issued shortly? I don’t understand how to apply the fix detailed above. Which existing file do I need to delete? And download from where?

    I had to access WordPress “recovery mode” to mend my site, and now I am getting the following error, upon activating the WP-ERP plugin: –

    “`Plugin could not be activated because it triggered a?fatal error.

    Warning: require(/home/REDACTED/public_html/wp-content/plugins/erp/vendor/composer/../google/apiclient/src/aliases.php): failed to open stream: No such file or directory in /home/REDACTED/public_html/wp-content/plugins/erp/vendor/composer/autoload_real.php on line 69

    Fatal error: require(): Failed opening required ‘/home/REDACTED/public_html/wp-content/plugins/erp/vendor/composer/../google/apiclient/src/aliases.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/REDACTED/public_html/wp-content/plugins/erp/vendor/composer/autoload_real.php on line 69`”

    WordPress version 5.9.3
    Current theme: Kunco | Shared By VestaThemes.com (version 1.0.0)
    Current plugin: WP ERP (version 1.10.6)
    PHP version 7.4.29

    WordPress has since been updated to 6.0, and I get exactly the same error upon activation of WP-ERP. Currently unusable.

    Hello @angeldev,

    Sorry for the inconvenience, probably I could not explain that properly.

    The issue is already resolved by our devs team, you can simply delete(old erp plugin) and upload/download it from WordPress Org

    Please let me know If you need any further assistance, have a great day ahead!

    Best regards,

    • This reply was modified 2 years, 6 months ago by Arif_me.
    Thread Starter Anonymous User 16103310

    (@anonymized-16103310)

    This did not solve the issue and I had to rollback to the previous version. When another update came in, I tried to upgrade but still I got this error ‘Fatal error: Uncaught TypeError: Argument 1 passed to Google\Client::setHttpClient() must be an instance of GuzzleHttp\ClientInterface, instance of Automattic\WooCommerce\GoogleListingsAndAds\Vendor\GuzzleHttp\Client given in /home/example/public_html/wp-content/plugins/erp/vendor/google/apiclient/src/Client.php:1132 Stack trace: #0 [internal function]: Google\Client->setHttpClient(Object(Automattic\WooCommerce\GoogleListingsAndAds\Vendor\GuzzleHttp\Client)) #1 /home/example/public_html/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(273): call_user_func_array(Array, Array) #2 /home/example/public_html/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(216): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->invokeMethods(Object(Google\Client)) #3 /home/example/public_html/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Aut in /home/example/public_html/wp-content/plugins/erp/vendor/google/apiclient/src/Client.php on line 1132‘ and I had to again rollback. I think there are compatibility issues with plugin Google Listings and Ads

    • This reply was modified 2 years, 5 months ago by Anonymous User 16103310.

    Fatal error: Cannot redeclare get_financial_year_from_date() (previously declared in /home/giltwylm/hrm.giltraining.com/wp-content/plugins/wp-hr-manager/includes/functions.php:2497) in /home/giltwylm/hrm.giltraining.com/wp-content/plugins/erp/includes/functions.php on line 2297

    Plugin Support Md. Tanvir Chowdhury

    (@tanvir101)

    Hello @okekolawolesunday @abanista

    If you are using the old version or the old WP ERP plugin(hr manager), I suggest you remove the old WP ERP plugin and download the latest version of WP ERP v1.11.1 from WordPress. Your issue should be resolved.

    If not then let me know for further assistance or reach out to the WP ERP plugin author so we can provide guidance.

    Regards

    Thread Starter Anonymous User 16103310

    (@anonymized-16103310)

    I have done that for every version after 1.10.5 and the fatal error remain so I have to always roll back to 1.10.5 which is what I am currently using. All my other plugins are at the latest versions including wordpress

    • This reply was modified 2 years, 1 month ago by Anonymous User 16103310.
    Plugin Support Md. Tanvir Chowdhury

    (@tanvir101)

    Hello @abanista

    Apology for the inconvenience, would you make sure to update to the latest version of WP ERP v1.11.3,

    If you still facing the fatal error after updating the plugin then let me know for further assistance or reach out to the WP ERP plugin author so we can provide guidance.
    I appreciate your understanding of the matter.

    Regards

    Plugin Support Md. Tanvir Chowdhury

    (@tanvir101)

    Hi @abanista

    I hope your issue has been resolved and on account of being inactive, I am making this topic as resolved.
    We suggest you create another topic if needed.

    Regards,

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Critical error after latest update’ is closed to new replies.