• Resolved barnz2k

    (@barnz2k)


    Hey

    I upgraded to the latest Nelio Content 1.67, and it wouldn’t activate because “it triggered a critical error”.
    Syntax error on line 582 in ‘*/admin/class-nelio-content-admin.php’

    I // commented out that line and it worked. Not sure what parts of the plugin that might have broken but its doing what I was using it for still.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Aguilera

    (@davilera)

    Hi!

    Commenting out that line isn’t a good idea. The fatal error probably occurs because we define an array using the [ ... ] constructor (instead of the classic array( ... ). This constructor is supported since PHP version 5.4 (which is the recommended version in our plugin). What PHP version is your server running? I recommend you upgrade it.

    Regards,
    David

    Thread Starter barnz2k

    (@barnz2k)

    Ahh Seems my server was running 5.3, I switched it to 5.5 and un commented that line and it worked.

    cheers David!

    Plugin Author David Aguilera

    (@davilera)

    Glad I could help ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Won’t activate because triggered critical error’ is closed to new replies.