Title: twinky's Replies | WordPress.org

---

# twinky

  [  ](https://wordpress.org/support/users/twinky/)

 *   [Profile](https://wordpress.org/support/users/twinky/)
 *   [Topics Started](https://wordpress.org/support/users/twinky/topics/)
 *   [Replies Created](https://wordpress.org/support/users/twinky/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/twinky/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/twinky/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/twinky/engagements/)
 *   [Favorites](https://wordpress.org/support/users/twinky/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [Fatal error: Cannot redeclare glob](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-glob/)
 *  [twinky](https://wordpress.org/support/users/twinky/)
 * (@twinky)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-glob/#post-289725)
 * I use stable version of WP 2, I added the question here to this topic because
   it is what I think caused prob.
 * Anyway I solved it by editing file wp-includes/functions.php and change row 1785
   from:
 * $screenshot = glob(“$theme_root/$stylesheet/screenshot.*”);
 * to
 * $screenshot = globX(“$theme_root/$stylesheet/screenshot.*”);
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [Fatal error: Cannot redeclare glob](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-glob/)
 *  [twinky](https://wordpress.org/support/users/twinky/)
 * (@twinky)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-glob/#post-289723)
 * I had the same problem and did what OzzyQ suggested. Installation went ok but
   after it when I log in as admin I see the following errors:
 * Warning: glob() has been disabled for security reasons in /DISK2/WWW/….
 * Please can someone help?

Viewing 2 replies - 1 through 2 (of 2 total)