#188 – Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'MC4WP_Request' not found

Posted in ‘weeblrAMP’
This is a public ticket. Everybody will be able to see its contents. Only enter usernames, passwords or any other sensitive information in the Private information field.
Wednesday, 18 December 2019 23:44 UTC
flashwebcenter
 Hello,
I have mailchimp-for-wp plugin installed and it is working on regular pages. I got this error on amp pages. I thought it is related to the server so I tested the plugin on different server. I got the same error

[proxy_fcgi:error] [pid 8227] [client 127.0.0.1:50562] AH01071: 
Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'MC4WP_Request' not found in 
/.../wp-content/plugins/weeblramp/public/full/amp-mc4wp-submit.php:151\nStack trace:\n#0 
/.../wp-contentplugins/weeblramp/public/full/amp-mc4wp-submit.php(175): WeeblrampMailchimpforwpHandler->submitForm()\n#1 
/.../wp-content/plugins/weeblramp/class/full/ampsubmit.php(144): WeeblrampMailchimpforwpHandler->execute()\n#2 
/.../wp-contentplugins/weeblramp/public/full/amp-mc4wp-submit.php(190): WeeblrampClass_Ampsubmit->process()\n#3 
/.../wp-content/plugins/weeblramp/public/amp-mc4wp-submit.php(24): include_once('/home/351466.cl...')\n#4 {main}\n thrown in 
/.../wp-content/plugins/weeblramp/public/full/amp-mc4wp-submit.php on line 151\n'


Thank you!
Thursday, 19 December 2019 09:47 UTC
wb_weeblrpress
HI

Made some changes to adjust to latest MC4WP API changes. You can download it from development versions download area. It also suppresses a few warnings under PHP 7.4.

Let me know.

Best regards
 
Thursday, 19 December 2019 16:14 UTC
flashwebcenter
Hello,

Thank you very much for your help. It is working now.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.