• Resolved SQID

    (@sqid)


    I have the following error with the initial commit of a new plugin…

    Description : Commit failed (details follow):
    Suggestion : The operation could not be completed.
    Technical Information
    =====================
    Error : V4Error
    Exception : ZSVNException
    Causal Information
    ==================
    Description : Commit failed (details follow):
    Status : 165001
    Description : Commit blocked by pre-commit hook (exit code 1) with output:
    PHP Fatal error: Cannot re-assign auto-global variable _POST in – on line 721
    ***********************************
    PHP error in: sqid-payments-gateway-for-woocommerce/trunk/woocommerce-sqid-payments.php:
    Errors parsing sqid-payments-gateway-for-woocommerce/trunk/woocommerce-sqid-payments.php
    ***********************************
    Status : 165001

    The relevant lines of code is

    function ipn_response($_POST=array()) {
    			global $woocommerce;
    				$order_id = (int) $_POST['custom1'];

    Can you advise what the issue is please?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Initial commit error failed to parse’ is closed to new replies.