-1

Was trying to install a wp plugin- dt world clock and got this error msg.

The actual error msg:

Parse error: syntax error, unexpected '[' in /var/www/html/wp-content/plugins/dt-world-clock/dt-world-clock.php on line 415

And the line 415 is:

function DT_World_Clock_Shortcode($atts = [], $content = null, $tag = '') {

I have no idea where to edit-

Would really appreciate help...

  

1 Answer 1

0

try this function DT_World_Clock_Shortcode($atts = array(), $content = null, $tag = "") {

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.