Skip to content
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
Closed

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

angelleye opened this issue Nov 4, 2015 · 1 comment
Assignees
Milestone

Comments

@angelleye
Copy link
Collaborator

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
Copy link
Collaborator Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant