Paypal Pro forms probem

Hello,

I am trying to implement a paypal pro form on my page. But I am encountering errors and unable to do so (Paypal buttons are working, but do not have the functionality I really need)

I am entering the following shortcode (which is generated for me by S2 pro)

[s2Member-Pro-PayPal-Form level=“1” ccaps="" desc="$59 GBP / One Time (for lifetime access, non-recurring, no trial)" ps=“paypal” lc="" cc=“GBP” dg=“0” ns=“1” custom=“www.makescienceeasy.com” ta=“0” tp=“0” tt=“D” ra=“59” rp=“1” rt=“L” rr=“BN” rrt="" rra=“2” accept=“paypal,visa,mastercard,amex,discover,maestro,solo” accept_via_paypal=“paypal” coupon="" accept_coupons=“0” default_country_code="" captcha=“0” /]

But when I view the page I get the following error.

Catchable fatal error: Object of class WP_Post could not be converted to string in /home/tylean/makescienceeasy.com/wp-content/plugins/s2member/src/includes/classes/utils-strings.inc.php on line 235

Is there anything I can do? Are there any workarounds I can use without changing the theme?
(I am aware it is probably the theme, but I really don’t want to have to mess with that as that would create a massive load of work that I do not have time for at the moment. )

Thanks in advance

First, you need to check whether that assumption is correct. Change theme temporarily to 2017 and see what happens then.

If this behavior ceases, then it’s your theme, and the only remedy is changing themes or modifying your current one.

If the behavior continues, then the problem does not lie with your theme, and other things need to be explored.

2 Likes

Thanks,

I did change my theme to 2017.

I still get the exact same error. Any ideas would be greatly appreciated!

I suspect that this is caused by a conflict with a plugin. Turn off all the others and see if the issue goes away. If it does, you know that you had a conflict. Then turn them on again one by one and test each time. When the problem recurs, you will have found the culprit.

1 Like