• Resolved raycjohnson57

    (@raycjohnson57)


    I installed plugin and get the following on activation

    Fatal error: Arrays are not allowed in class constants in D:\Hosting\2222406\html\bmsblog\wp-content\plugins\content-mask\content-mask.php on line 50

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

    (@alexdemchak)

    This means you are using a PHP Version that’s below 5.6, the minimum required PHP Version.

    I suggest you talk to your host about upgrading, since PHP 5.5 reached end-of-life in 2015 and stopped receiving important security updates mid 2016. PHP 5.4 reached end-of-life in 2014 and stopped receiving important security updates in mid-2015.

    If your host is unable to upgrade you to PHP 5.6, let me know which PHP version you’re using, and I’ll see if I can push out a backwards compatibility patch, depending on the version you’re using.

    Thread Starter raycjohnson57

    (@raycjohnson57)

    I am using 5.4 at this time

    Plugin Author Xhynk

    (@alexdemchak)

    I’ve pushed Content Mask version 1.5.2.1 to the repository with some backwards compatibility for PHP 5.4.

    Since it’s so out of date I don’t actually have access to a PHP 5.4 installation, but I ran it through some unit testing on an online sandbox running PHP 5.4 and it seemed to be stable with no errors. Can you try installing it again and let me know if it works?

    Again I’d recommend upgrading PHP as soon as you’re able due to security vulnerabilities, but I believe Content Mask should run on 5.4 now; though if it throws any more errors, feel free to post them here and I can take a look.

    • This reply was modified 5 years, 7 months ago by Xhynk.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘installation problem’ is closed to new replies.