- changed version to 1.1.2
Version 1.1.1 Breaks WP Admin Browser
After Updating to 1.1.1, the browser for looking at the IPN data breaks (shown in the attached picture). After doing some digging, we figured out it's an issue with the transaction date setting function. Here's the error:
admin/partials/class-paypal-ipn-for-wordpress-post-types.php:659
Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (UTC+0)
Changing line 653 from
if ( 0 == $current_offset )
$tzstring = 'UTC+0';
to
if ( 0 == $current_offset )
$tzstring = 'UTC';
Seems to fix it.
Comments (9)
-
repo owner -
repo owner @patrickseelinger Can you let me know what version of PHP you are running? I am not seeing this on my sites.
-
repo owner @kcppdevelopers Your thoughts on this?
-
Version 1.1.1 Breaks WP Admin Browser, ref
#96→ <<cset 19c90b628e76>>
-
@angelleye We have used Timezone value from WP general setting but 'UTC+0' value is not support DateTimeZone PHP class, now I have changed logic and it will working well.
-
repo owner Updates changelog, ref
#96→ <<cset 037882696d3d>>
-
repo owner - changed status to closed
-
repo owner @patrickseelinger I'll be pushing a 1.1.2 update to fix this soon. Thanks for the feedback!
-
reporter @angelleye No problem. And we're using PHP 7.0.22 if that still helps.
- Log in to comment