Forums

[Plugin: WP-DBManager] Undefined variable (3 posts)

  1. MountainTop
    Member
    Posted 8 months ago #

    I have bitnami-wordpress installed on Amazon EC2. When I optimized the database I received these two errors:

    Notice: Undefined variable: no in ../wordpress/htdocs/wp-content/plugins/wp-dbmanager/database-optimize.php on line 83 Notice: Undefined variable: no in ../wordpress/htdocs/wp-content/plugins/wp-dbmanager/database-optimize.php on line 88

    Line 83: if($no%2 == 0) {
    Line 88: $no++;

    I don't know PHP. Anyone know why I might be getting this error?

  2. Lester Chan
    Member
    Posted 8 months ago #

    This is my bad for poor coding, the cleanup is on my todo list. In the meantime, the notices are harmless, google "turn off PHP notices"

  3. MountainTop
    Member
    Posted 8 months ago #

    I turned them on since the site is in development mode. I will just ignore the notice for now. Thanks for the quick response.

Reply

You must log in to post.

About this Topic