Theme Check
Notice: Array to string conversion in... theme-check plugin (3 posts)

  1. rclilly
    Posted 2 years ago #

    When I click "Check it!" for the Theme-Check I get the following message appearing 882 times before the Theme Info section even starts:

    Notice: Array to string conversion in /blog/wp-content/plugins/theme-check/checks/links.php on line 18

    What is this and why does it show up so many times?

    Also, just below the Theme Info section I get:

    Notice: Undefined offset: 1 in /blog/wp-content/plugins/theme-check/main.php on line 75

    Both of these messages appear to be related to the plugin itself.

    FYI, here's the debug section of my wp-config.php file:

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    //Enable display of errors and warnings
    define('WP_DEBUG_DISPLAY', true);


  2. Simon Prosser
    Theme Review Admin
    Plugin Author

    Posted 2 years ago #

    Notice: Undefined offset: 1 in /blog/wp-content/plugins/theme-check/main.php on line 75

    Thats caused by the plugin version not having a minor version, long time bug, keep forgetting to fix it.
    What theme are you running it against?

  3. rclilly
    Posted 2 years ago #

    Thanks for the response. The theme I'm running is a custom one I've cobbled together to integrate WordPress into an existing site. I'm using the Theme Check to help make sure that there aren't important features/functions that I've neglected to account for. My goal is to eventually convert the entire site to WordPress and this blog integration is like the training wheels phase of learning how to write my own theme.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic