Title: Error when activating plugin
Last modified: May 15, 2021

---

# Error when activating plugin

 *  Resolved [zweifeln](https://wordpress.org/support/users/zweifeln/)
 * (@zweifeln)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/)
 * Hi, I’m not able activate the Tatum plugin on our website. The error is:
 * Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (
   T_FUNCTION) or const (T_CONST) in /home/customer/www/tastenfts.com/public_html/
   wp-content/plugins/tatum/admin/class-tatum-admin.php on line 57
 * Is there a dependency that I have to install first? I installed WP Smart Contracts
   but error is still there.
 * Thanks for your help,
    Nadina
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-activating-plugin-43%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [lukaskotol](https://wordpress.org/support/users/lukaskotol/)
 * (@lukaskotol)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14442558)
 * Hi!
    Zweifeln, I am working now on fixing your issue. Please give me a little
   bit time. Once I will solve the problem I will inform you.
 * Thanks for your patience.
    Lukas Kotol
 *  Plugin Author [lukaskotol](https://wordpress.org/support/users/lukaskotol/)
 * (@lukaskotol)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14442690)
 * Hi!
    I think you are using non supported version of PHP which is lower than 5.4.
 * The message
 * > Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function(
   > T_FUNCTION) or const (T_CONST) in /home/customer/www/tastenfts.com/public_html/
   > wp-content/plugins/tatum/admin/class-tatum-admin.php on line 57
 * means that you PHP is unable to parse array with new 5.4 PHP Array syntax [https://www.php.net/ChangeLog-5.php#PHP_5_4](https://www.php.net/ChangeLog-5.php#PHP_5_4).
   If you look on the version 5.4.0 you will see
 * > Added short array syntax support ([1,2,3]), see UPGRADING guide for full details.
 * Please update your PHP version to at least 5.4!
    Thanks so much for your response.
 *  [Digissues](https://wordpress.org/support/users/digissues/)
 * (@digissues)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14443021)
 * Hi, plugin triggered same fatal error to me too.
    I replaced ‘array’ with function
   and it triggered next error on same line
 * **Parse error**: syntax error, unexpected ‘$chains’ (T_VARIABLE) in **/var/www/
   wp-content/plugins/tatum/admin/class-tatum-admin.php** on line **57**
 * I got PHP 7.3 and WP 5.7.2 installed
 *  Plugin Author [lukaskotol](https://wordpress.org/support/users/lukaskotol/)
 * (@lukaskotol)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14457972)
 * Hi, [@digissues](https://wordpress.org/support/users/digissues/), I think you
   are using an older version of PHP than 5.4, could you please double-check it?
   As I referred this is often caused when you are running low PHP version.
 *  Plugin Author [lukaskotol](https://wordpress.org/support/users/lukaskotol/)
 * (@lukaskotol)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14458060)
 * Could you please [@digissues](https://wordpress.org/support/users/digissues/)
   also try version 7 of PHP? Thanks.
 *  [csabahalasz73](https://wordpress.org/support/users/csabahalasz73/)
 * (@csabahalasz73)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14462686)
 * Hi,
    I use PHP version 7.3.6, but I got the same error message when I tried to
   activate it. Can you please help me to fix it?
 * Thank you.
 *  Plugin Author [lukaskotol](https://wordpress.org/support/users/lukaskotol/)
 * (@lukaskotol)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14462765)
 * Hi,
    [@csabahalasz73](https://wordpress.org/support/users/csabahalasz73/), the
   error is that I am expecting you to use PHP version at least 7.4. I will downgrade
   it to 7.0 PHP. Let me fix it in minute!
 *  [csabahalasz73](https://wordpress.org/support/users/csabahalasz73/)
 * (@csabahalasz73)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14462782)
 * Hi,
    [@lukaskotol](https://wordpress.org/support/users/lukaskotol/) , thank you.
   Ok. no problem. I wait.
 *  Plugin Author [lukaskotol](https://wordpress.org/support/users/lukaskotol/)
 * (@lukaskotol)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14462811)
 * Hi,
    [@csabahalasz73](https://wordpress.org/support/users/csabahalasz73/) now
   it should plugin work normally even with PHP 7.0. Please, try to delete and install
   the plugin again. Thanks and sorry for the issue. If you will have any problem
   in future, let me know about it. Lukas Kotol
 *  [csabahalasz73](https://wordpress.org/support/users/csabahalasz73/)
 * (@csabahalasz73)
 * [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14462859)
 * Hi,
    [@lukaskotol](https://wordpress.org/support/users/lukaskotol/) thank you.
   It seems ok, now. thank you, again.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Error when activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/tatum/assets/icon-256x256.png?rev=2626286)
 * [NFT Maker](https://wordpress.org/plugins/tatum/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tatum/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tatum/)
 * [Active Topics](https://wordpress.org/support/plugin/tatum/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tatum/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tatum/reviews/)

## Tags

 * [activation error](https://wordpress.org/support/topic-tag/activation-error/)

 * 10 replies
 * 4 participants
 * Last reply from: [csabahalasz73](https://wordpress.org/support/users/csabahalasz73/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/error-when-activating-plugin-43/#post-14462859)
 * Status: resolved