Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paul Kevin

    (@rixeo)

    Hi Sadara. I don’t get that error when I do a fresh install of the plugin. Also variations have been disabled so the function should not be called at any time.

    Thread Starter sadara

    (@sadara)

    hi paul –

    the full error message i see is:

    Plugin could not be activated because it triggered a fatal error.
    
    <strong>Parse error: syntax error, unexpected '[', expecting ',' or ';' in D:\INETPUB\VHOSTS\<domainname.tld>\<subdomainname>\wp-content\plugins\dukagate\dukagate\dukagate-settings.php on line 41</strong>

    amending the line to:

    echo array_keys($this->variation_types, $key);

    enables me to activate without error. i suppose that since the function has been disabled, changing it like this shouldn’t cause any problems.

    for your info:

    • i’m using a zip of dukagate v3.4.9 downloaded 27/10/13
    • wordpress 3.7
    • installing using the .zip upload & install functionality in wp admin area.
    • php 5.2.17 running on windows

    thanks for the response

    3.4.9

    Plugin Author Paul Kevin

    (@rixeo)

    Hi Sadara

    If you look at the latest files in the revision there is only this on that line:

    function get_variation($key){
    		echo array_keys($this->variation_types, $key)[0];
    	}
    Plugin Author Paul Kevin

    (@rixeo)

    Please send your zipped version to paultitude[at]gmail.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘fatal error on activation’ is closed to new replies.