Support » Plugins and Hacks » Quick Paypal Payments » [Resolved] Fatal Error

[Resolved] Fatal Error

    Cannot redeclare current_page_url() (previously declared in /home/yhyeui/public_html/wp-content/themes/kallyas/functions.php:2907) in /home/yhyeui/public_html/wp-content/plugins/quick-paypal-payments/quick-paypal-payments.php on line 127

    I deleted the declaration in line 127 and it worked. I am sure that is not the best approach. Your advice is appreciated.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author aerin


    I can’t replicate the error so don’t know what to fix. Can you post the URL of your payment page so I can take a look

    Same problem faced. 🙁 I deleted the declaration line on 127. It is activated but will it work perfectly ?

    Plugin Author aerin


    I’ve just realised the problem. The function name is not unique and may be used on other plugins or themes. I fixed it by changing the name to qpp_current_page_url() in the two places it occurs.

    I’ll upload an upgrade later today.

    There are two places where urrent_page_url()is used. One time is used in starting point at

    $page_url = current_page_url();

    and next time in the line 127. We have to change to qpp_current_page_url()the both cases right ?

    Plugin Author aerin


    That’s correct. But if you upgrade to V2.0.4 the bug is fixed

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Fatal Error’ is closed to new replies.
Skip to toolbar