New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Express Checkout - Potential problem with curPageURL()..?? #349

Closed
angelleye opened this Issue Nov 4, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@angelleye
Owner

angelleye commented Nov 4, 2015

User reporting a problem: https://wordpress.org/support/topic/fatal-error-cannot-redeclare-curpageurl?replies=1#post-7625751

The error shows that curPageURL() is already called in the user's theme, and then apparently our review page is trying to call it again, which results in a fatal error.

Need to look into this and see if there's a way we can adjust our code to ensure this doesn't happen..??

@angelleye angelleye added this to the 1.2 milestone Nov 4, 2015

@angelleye

This comment has been minimized.

Show comment
Hide comment
@angelleye

angelleye Nov 4, 2015

Owner

I can see that we are creating a curPageURL() function in our review page template. We need to add logic to make sure that function isn't already setup somewhere else and adjust accordingly.

Owner

angelleye commented Nov 4, 2015

I can see that we are creating a curPageURL() function in our review page template. We need to add logic to make sure that function isn't already setup somewhere else and adjust accordingly.

@angelleye angelleye modified the milestones: 1.2, 1.1.7.6 Dec 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment