The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Stripe PHP Warning

Labels

This Discussion is public

Notifications

Hi All,

I am using the Stipe add on for payment. It has been working fine for a while. But all the sudden, it said some types of PHP errors in the class-app-helper.php file. Anyone has an idea of how to fix it? I have already updated both the plugin and wordpress.

Here is the page: https://connectumedia.com/kcpay/

Thank you!


Attachment:

I'm not seeing the warnings when I visit the page. Did you fix it?

I am seeing another HTML related error though that could cause problems throughout the site. If you use your browser's inspection tool, you'll find two blank lines above the DOCTYPE declaration. The error in the console reads:

SyntaxError: expected expression, got '<'

You have to view the page's source code to see the actual syntax problem. Doctype should be the first line in the source code. The blank lines could be messing things up.

If the PHP warnings persist, I would check the PHP version your site is using. Having a too old version could produce those warnings.

Thank you vfontjr! I have updated the Php setting to 5.6 in godaddy. It seems to get rid of the error.

 

Discussion closed.