Class not found for GTM magento 2.4.5-p1
Using the free GTM module, I upgraded the module as per the documentation. However I get the following error during complile:
In PluginListGenerator.php line 324:
Plugin class WeltPixel\GoogleTagManager\Plugin\GuestPaymentInformation doesn't exist
When I look at my previous version of the GTM, it has this file: GuestPaymentInformation.php (which is missing in the new version for Magento 2.4.5-p1.
How do i fix this?
-
Official comment
Here's a quick look at the folder/file structure of a freshly downloaded set of extension files for the Google Tag Manager module, from weltpixel.com:

As you can see, the GuestPaymentInformation.php file exists in the Plugin folder, so make sure all the files were copied over to the server correctly when you performed the upgrade. If you can't find the file in the zip you downloaded, there may have been a download error, so you can try downloading the extension again.
Afterward, simply perform the upgrade process one more time and the errors you're facing should be gone.
Comment actions
Please sign in to leave a comment.
Comments
1 comment