Failed to activate theme

Home Forums WordPress Theme Support VideoZine Pro Failed to activate theme

This topic contains 2 replies, has 2 voices, and was last updated by  Raja CRN 6 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8421

    jfergimenez
    Member

    Hello, the issue was installed without errors but when aparace is activated the following error:

    Parse error: syntax error, unexpected ‘[‘ in /home/reflejos/domains/reflejos.com.ar/public_html/wp-content/themes/videozine/includes/functions/theme-functions.php on line 1339

    Probe with WordPress 4.8.2 and 4.7.6, but in both the same error occurs

    Please, I would need a solution. Thank you

    #8424

    Raja CRN
    Keymaster

    Hello,

    We are checking your error. Need your WordPress temporary Login details. Also, share your PHP Version. Looks like you are using the oldest version of the PHP. We’ve found the solution. However we need further information from you to fix those issues.

    Note: Set as Private Reply

    #8425

    Raja CRN
    Keymaster

    Hello,

    Goto videozine/includes/functions/theme-functions.php

    Find the following line and Replace with below code.

    $firstpage = array_values($my_liked_posts)[0];

    With

    $firstpage_tmp = array_values($my_liked_posts);
    $firstpage = $firstpage_tmp[0];

    It will fix the errors.

Viewing 3 posts - 1 through 3 (of 3 total)

Only Verified Customer of this Theme Can post reply to this Support Topic! .