Title: Scriptrunner (Doug Sparling)'s Replies - page 13 | WordPress.org

---

# Scriptrunner (Doug Sparling)

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 181 through 195 (of 520 total)

[←](https://wordpress.org/support/users/scriptrunner/replies/page/12/?output_format=md)
[1](https://wordpress.org/support/users/scriptrunner/replies/?output_format=md) 
[2](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/scriptrunner/replies/page/3/?output_format=md)…
[12](https://wordpress.org/support/users/scriptrunner/replies/page/12/?output_format=md)
13 [14](https://wordpress.org/support/users/scriptrunner/replies/page/14/?output_format=md)…
[33](https://wordpress.org/support/users/scriptrunner/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/scriptrunner/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/scriptrunner/replies/page/35/?output_format=md)
[→](https://wordpress.org/support/users/scriptrunner/replies/page/14/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Facebook Open Graph protocol] Footer html added to feed with 2.0.7](https://wordpress.org/support/topic/footer-html-added-to-feed-with-207/)
 *  Thread Starter [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/footer-html-added-to-feed-with-207/#post-4198509)
 * 2.1 is fine. As I recall 2.1 doesn’t even use the output buffering, which seems
   to be causing the issue with 2.0.7.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Logon goes to User's Admin page](https://wordpress.org/support/topic/logon-goes-to-users-admin-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/logon-goes-to-users-admin-page/#post-4209304)
 * You might try a plugin like [WordPress Login Redirect](http://wordpress.org/plugins/wordpress-login-redirect/)
   or do a plugin search in your WordPress admin using the terms Login Redirect.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to have a simple html page as homepage](https://wordpress.org/support/topic/how-to-have-a-simple-html-page-as-homepage/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-have-a-simple-html-page-as-homepage/#post-4207361)
 * What [@catacaustic](https://wordpress.org/support/users/catacaustic/) is referring
   to is the DirectoryIndex listing configuration. Depending on your server configuration(
   if it’s Apache and the host will allow overrides in .htaccess), you should be
   able to add this to .htaccess.
 *     ```
       DirectoryIndex index.html index.php
       ```
   
 * However, unless it’s very particular need, I’d recommend that you convert your
   static html page into a WordPress page and set it as the “static” home page.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to add content text to a featured-pages page](https://wordpress.org/support/topic/how-to-add-content-text-to-a-featured-pages-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-content-text-to-a-featured-pages-page/#post-4210868)
 * In `home.php`, you can place content above and below these lines:
 *     ```
       <div id="slider">
           <?php get_template_part( 'loop', 'slider' ); ?>
       </div><!-- #slider -->
       ```
   
 * though you might want to consider a child theme once you start modifying a theme
   you’ve installed.
 * For future reference, I’d recommend a plugin like
    [What the File](http://wordpress.org/plugins/what-the-file/)
   to help you track down what template(s) you need to edit.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Numbered lists changed to bulleted lists](https://wordpress.org/support/topic/numbered-lists-changed-to-bulleted-lists/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/numbered-lists-changed-to-bulleted-lists/#post-4210373)
 * It’s your theme. Where did you get the theme? I don’t see this theme on WordPress.
   org (it if is, let me know), so you’ll need to contact the theme’s author.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal Error: Undefined function wp_get_current_user () in user.php](https://wordpress.org/support/topic/fatal-error-undefined-function-wp_get_current_user-in-userphp/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-undefined-function-wp_get_current_user-in-userphp/#post-4207744)
 * First, you definitely do not want to modify a WordPress core file. The problem
   is with one of your plugins.
 * `wp-includes/pluggable.php`, which contains the `wp_get_current_user()` function,
   doesn’t get loaded until *after* plugins are loaded, so trying to use that function
   in a plugin will cause a fatal error. You should contact the plugin author and
   submit a bug report. The author should be able to use a hook that runs later 
   in the WordPress lifecycle.
 * You’ll need to follow Tara’s advice to narrow down which plugin it is.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [What's the best way to redirect a single page for mobile devices?](https://wordpress.org/support/topic/whats-the-best-way-to-redirect-a-single-page-for-mobile-devices/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/whats-the-best-way-to-redirect-a-single-page-for-mobile-devices/#post-4155735)
 * How did the php browser detection fail? You’ll have to do some kind of user agent
   detection so I’d go with a plugin if at all possible.
 * I do see how it could be handy to have a shortcode, but don’t think I’ve seen
   a plugin that’ll do that for browser UA detection and redirect.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Formatting.php error](https://wordpress.org/support/topic/formattingphp-error/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/formattingphp-error/#post-4201536)
 * Good deal. Ok, that’s a premium plugin, so you may get with the author and see
   if he can fix that for you.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [URL Redirect / .htaccess / subdomain / maintenance page madness](https://wordpress.org/support/topic/url-redirect-htaccess-subdomain-maintenance-page-madness/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/url-redirect-htaccess-subdomain-maintenance-page-madness/#post-4181952)
 * 192.168.1.1 is a private IP address. You need your public IP. Try a site like
   this to find out what it is:
 * [http://www.whatismyip.com/](http://www.whatismyip.com/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Safe Mode] Bug – twentythirteen never used due to typo](https://wordpress.org/support/topic/bug-twentythirteen-never-used-due-to-typo/)
 *  Thread Starter [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/bug-twentythirteen-never-used-due-to-typo/#post-4203229)
 * Hi Uffe,
 * No worries…thank you for the fix and the credit!
 * I’ll have a (very small) feature request for you at some point 🙂
 * Regards,
    == doug
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Formatting.php error](https://wordpress.org/support/topic/formattingphp-error/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/formattingphp-error/#post-4201499)
 * The OP already did that using Safe Mode plugin and that eliminated the warning.
   Just changing the theme didn’t. So plugin issue.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Formatting.php error](https://wordpress.org/support/topic/formattingphp-error/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/formattingphp-error/#post-4201485)
 * I’d also be curious if the non-logged in commenters have an email address (or
   something else) in the comment_author_email field in the wp_comments table. The
   warning stems from WordPress expecting the email variable in the code you posted
   to be a string, but it’s not. However, I can’t duplicate it locally, which I 
   try to do so if it’s a bug with a theme or plugin, I (or you) can submit a bug
   report to the author.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Formatting.php error](https://wordpress.org/support/topic/formattingphp-error/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/formattingphp-error/#post-4201484)
 * If you’re not using a default theme, I’d try changing that first, since it’s 
   simple and fast (unless you’re already using an unmodified WordPress default 
   theme). Otherwise, you’ll have to try and narrow down which plugin, which you’ll
   have to do one at a time. I generally deactivate them all and then reactivate
   one at a time. Normally with DEBUG mode set to false, you won’t see the warning
   messages.
 * Narrowing it down to non-logged in commenters may help solve the puzzle as well(
   I’m going to look at that).
 * Can you list what plugins you are using?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can't access backend – recaptcha error](https://wordpress.org/support/topic/cant-access-backend-recaptcha-error/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cant-access-backend-recaptcha-error/#post-4202012)
 * Esmi’s question reminded me of something. Though we’ve quit using recaptcha ages
   ago, I have had clients who installed via cpanel. As I recall, it broke when 
   the host did a php upgrade. Since this doesn’t seem WordPress specific, I’d follow
   esmi’s advice and contact your host.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can't access backend – recaptcha error](https://wordpress.org/support/topic/cant-access-backend-recaptcha-error/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cant-access-backend-recaptcha-error/#post-4201994)
 * I have no idea what `wp-lc.php` is, but `recaptchalib.php` is the name of the
   file in the Google PHP library for reCaptcha. Any chance your site was using 
   reCapache on wp-login.php without using a plugin? I’d start by deactivating any
   reCaptcha plugins, if any, (though I still suspect it’s some sort of manual install),
   so you might want to check wp-login.php as well.

Viewing 15 replies - 181 through 195 (of 520 total)

[←](https://wordpress.org/support/users/scriptrunner/replies/page/12/?output_format=md)
[1](https://wordpress.org/support/users/scriptrunner/replies/?output_format=md) 
[2](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/scriptrunner/replies/page/3/?output_format=md)…
[12](https://wordpress.org/support/users/scriptrunner/replies/page/12/?output_format=md)
13 [14](https://wordpress.org/support/users/scriptrunner/replies/page/14/?output_format=md)…
[33](https://wordpress.org/support/users/scriptrunner/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/scriptrunner/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/scriptrunner/replies/page/35/?output_format=md)
[→](https://wordpress.org/support/users/scriptrunner/replies/page/14/?output_format=md)