Forums

Theme PHP error (6 posts)

  1. Nanochrome
    Member
    Posted 3 years ago #

    When I go to the themes page i get a PHP error:
    Warning: ksort() expects parameter 1 to be array, boolean given in /home/a6487579/public_html/wp-admin/themes.php on line 41
    And
    Warning: array_slice() expects parameter 1 to be array, boolean given in /home/a6487579/public_html/wp-admin/themes.php on line 62
    What does this mean?. I've reinstall wordpress and it still is shown.

  2. t31os
    Member
    Posted 3 years ago #

    If you refer to the site you mentioned in the other thread, there are several plugins and custom themes.

    Your plugin directory is also viewable by anyone,

    Disable the plugins, activate the default theme and see if the problem still exists.

  3. Nanochrome
    Member
    Posted 3 years ago #

    I don't have any plugins and the default theme is activated because i just did an fresh install

  4. t31os
    Member
    Posted 3 years ago #

    So you have no other problems, but this appears when accessing the theme management in the admin section?

  5. Nanochrome
    Member
    Posted 3 years ago #

    Yes and it won't let me activate or deactivate themes.

  6. t31os
    Member
    Posted 3 years ago #

    The only information i can find with any such error related to WP all relate to problematic plugins....

    If everything else functions, i don't know anything else to suggest other then ensure all files and folders have the correct permissions.

Topic Closed

This topic has been closed to new replies.

About this Topic