WordPress.org

Support

Support » How-To and Troubleshooting » Category Visibility Plugin not working

Category Visibility Plugin not working

  • I used the plugin from http://www.ryowebsite.com/?p=46

    I installed it correctly but i get this error on the “Category Visibility” page:

    WordPress database error: [Table 'wordpress.wp_categories' doesn't exist]
    SELECT * FROM wp_categories ORDER BY cat_name
Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Categories have changed. That plugin no longer works with WordPress. It says so in the comments on that very page, in fact.

    Also, if you look closely, you can find a link there that leads to a working version.

    http://wordpress.pastebin.ca/798578

    [moderated: see new pastebin link below]

    I tried Beta9 and Beta10 from the site but they both still give me the same error.

    EDIT: its okay, i used MichaelH’s method.

    Thanks for your help guys! 😉

    Had to fix line 137 in category_vis-p7.php

    New pastebin link:
    http://wordpress.pastebin.ca/799362

    When i tried the first link you gave me that actually plin worked correctly but it wont let me hide anything it would just give me an error.

    Then i used the new link you gave me with line 137 fixed but now it shows this error on top of the dashboard.
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wordpress\wp-content\plugins\category_vis-p7.php:1) in C:\xampp\htdocs\wordpress\wp-content\plugins\postratings\postratings.php on line 826

    When i tried the first link you gave me that actually plin worked correctly but it wont let me hide anything it would just give me an error.

    Then i used the new link you gave me with line 137 fixed but now it shows this error on top of the dashboard.
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wordpress\wp-content\plugins\category_vis-p7.php:1) in C:\xampp\htdocs\wordpress\wp-content\plugins\postratings\postratings.php on line 826

    Anyone gonna help?

    Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    That error tells you that you left a blank line or space at the top of the plugin file.

    This is your clue:
    output started at ... \plugins\category_vis-p7.php:1

    The “1” is the line number of the file. Edit the file, remove the blank space at the top. The very first thing in a plugin MUST be <?php.

    Then why does it say something about my other plugin post-rating?

    Sorry im still new with php and stuff.

    b/c headers have to be sent before any text is. The first plugin generated an error (i.e. it sent text to the browser). When the post-rating plugin tried to modify headers, it couldn’t as a result of the prior error. First the first error, the second goes away.

    I checked the category plugin, there is no blank or emtpy line the top. It starts off as <?php

    Im still getting this error at the top

    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wordpress\wp-content\plugins\category_vis-p7.php:1) in C:\xampp\htdocs\wordpress\wp-content\plugins\postratings\postratings.php on line 826

    Please Help! 🙁

    anyone gonna help?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Category Visibility Plugin not working’ is closed to new replies.