pronamic / wp-pay-core

Core components for the WordPress payment processing library. This library is used in the WordPress plugin Pronamic Pay: https://www.pronamicpay.com/, but also allows other plugin developers to set up a payment plugin.
https://www.wp-pay.org/
GNU General Public License v3.0
27 stars 3 forks source link

Fatal errors without package `pronamic/wp-pronamic-pay-forms` #140

Closed rvdsteege closed 1 year ago

rvdsteege commented 1 year ago

It appears that there are still some leftover references to the FormsModule and FormPostType classes, after the forms have been moved to their own repository in #138. This results in fatal errors if the pronamic/wp-pronamic-pay-forms package is not loaded.

Fatal error: Uncaught Error: Class "Pronamic\WordPress\Pay\Forms\FormsModule" not found in /wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/packages/wp-pay/core/src/Plugin.php:674
Fatal error: Uncaught Error: Class "Pronamic\WordPress\Pay\Forms\FormPostType" not found in /wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/packages/wp-pay/core/src/Admin/AdminModule.php on line 675
Fatal error: Uncaught Error: Class "Pronamic\WordPress\Pay\Forms\FormPostType" not found
in /wp-content/plugins/pronamic-pay-with-mollie-for-contact-form-7/packages/wp-pay/core/src/Admin/Install.php on line 183