Title: Scriptrunner (Doug Sparling)'s Replies - page 12 | 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 - 166 through 180 (of 520 total)

[←](https://wordpress.org/support/users/scriptrunner/replies/page/11/?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)…
[11](https://wordpress.org/support/users/scriptrunner/replies/page/11/?output_format=md)
12 [13](https://wordpress.org/support/users/scriptrunner/replies/page/13/?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/13/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Strict Standards error](https://wordpress.org/support/topic/strict-standards-error-5/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/strict-standards-error-5/#post-4217430)
 * Are you running in DEBUG mode and running PHP 5.4 or greater?
 * As of PHP 5.4, E_STRICT has been included as part of E_ALL, so if you’re running
   in DEBUG mode, you’ll now see Strict Standards warnings (note – they’re warnings,
   not errors), where you didn’t see them before in PHP 5.3.x or earlier.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [debug not logging to file](https://wordpress.org/support/topic/debug-not-logging-to-file/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/debug-not-logging-to-file/#post-4217425)
 * Are you seeing any debug output in your browser? (that is, you still have WP_DEBUG_DISPLAY
   set to its default value of true) The file will not be created until there is
   actual debug output. (and WordPress will create it for you if it doesn’t exist)
 * Also, permission issues could prevent the debug.log file from being created and
   written to. I’d double check this, especially since you created it yourself.
 *   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-4207802)
 * It’s not likely WordPress, but it could be something the install. I could see
   a not commonly used plugin being a problem, but if you’re having the problem 
   with multiple well-known plugins, then that leaves theme (or a faulty WordPress
   install).
 * As far as the theme, wp_get_current_user wouldn’t necessarily have to be in functions.
   php, it could be in any other php file in the theme. I’ve had to fix major bugs
   in premium themes before, but granted, very obscure and unusual bugs.
 * So let us know if using a default WordPress theme like TwentyThirteen or TwentyTwelve
   fixes the problem.
 *   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-4207798)
 * Tara has a very good point. Try using another theme. If that fixes it, then look
   in the culprit theme’s functions.php file and see if it’s using `wp_get_current_user()`
   anywhere. If the wp_get_current_user function is not running in a hook, it’s 
   very likely you’ll get this same error.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Building tag URLs with an "and/or"](https://wordpress.org/support/topic/building-tag-urls-with-an-andor/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/building-tag-urls-with-an-andor/#post-4195586)
 * Awesome, glad you got it figured out!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error](https://wordpress.org/support/topic/fatal-error-928/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-928/#post-4193338)
 * `Fatal error: Call to a member function register_handler() on a non-object in/
   home/maurolar/public_html/wordpress/wp-includes/media.php on line 944`
 * `register_handler()` is on line 944 only in WordPress 3.5, so it’s possible you’re
   mixing WordPress 3.6.1 and WordPress 3.5, and that’s not going to work. Originally
   that could be due to a failed upgrade.
 * If you’re trying to upload a fresh copy of WordPress (3.6.1), you absolutely 
   need to follow Tara’s advice and delete old folders and files first (except for
   the wp-content directory and wp-config.php file). And make a backup first!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Restrict Contributors to only able to edit 1 page](https://wordpress.org/support/topic/restrict-contributors-to-only-able-to-edit-1-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/restrict-contributors-to-only-able-to-edit-1-page/#post-4212894)
 * I sometimes write plugins (and submit to WordPress.org) based on some bit of 
   functionality someone here is looking for (to avoid having to update functions.
   php). This is one case where I might do that, as long as it’s not reinventing
   a wheel.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Restrict Contributors to only able to edit 1 page](https://wordpress.org/support/topic/restrict-contributors-to-only-able-to-edit-1-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/restrict-contributors-to-only-able-to-edit-1-page/#post-4212885)
 * So you want basically a contributor role for your users, the only difference 
   being is allowing them to edit only certain already existing pages and not allow
   them to create new ones? Say for example, the marketing team could only update
   the marketing specific pages and no others (and other non-marketing users could
   edit the marketing pages).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error](https://wordpress.org/support/topic/fatal-error-931/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-931/#post-4198534)
 * [@sallymc](https://wordpress.org/support/users/sallymc/) – To clarify, your site(
   as in your content) is data stored in the database and anything under wp-content.
   So first, you need to backup your database and the wp-content directory. That
   way, you will never “lose” your site no matter what. wp-config.php contains database
   credentials, so you don’t want to overwrite that, though if you do, you simply
   have to update the file.
 * The errors you’re getting are very common with incomplete installs or failed 
   upgrades (as suggested by other posters in this thread).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Restrict Contributors to only able to edit 1 page](https://wordpress.org/support/topic/restrict-contributors-to-only-able-to-edit-1-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/restrict-contributors-to-only-able-to-edit-1-page/#post-4212853)
 * OK, my bad…I guess this part:
 * >  Role Scoper is no longer actively developed. For feature requests (including
   > plugin compatability issues) and WP 3.7+ compatibility try the successor plugins,
   > Press Permit Core and Press Permit Pro. See the RS-PP feature comparison grid
   > for details.
 * So [Press Permit Core](http://wordpress.org/plugins/press-permit-core/) perhaps?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Restrict Contributors to only able to edit 1 page](https://wordpress.org/support/topic/restrict-contributors-to-only-able-to-edit-1-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/restrict-contributors-to-only-able-to-edit-1-page/#post-4212852)
 * RoleScoper seems up-to-date:
 * >  Requires: 3.0 or higher
   >  Compatible up to: 3.6.1 Last Updated: 2013-9-21 Downloads:
   > 339,273
 * What plugin is the one that’s no longer supported?
 *   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-4198521)
 * No problem, and definitely my pleasure.
 * When I help folks on the WordPress.org support forums, I not only try to help
   the user get their site working again, but I also try to help make WordPress 
   better by passing on any discoveries to theme/plugin authors, especially if the
   original poster can’t or won’t submit a bug report themselves.
 * Thanks!
 *   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-4210433)
 * It looks like you changed the page, but here’s the link to your original [css file](http://www.techsupportforum.com/wp-content/themes/TSF/A.style.css.pagespeed.cf.iAIN_ttct4.css):
 * I used Firebug to track it down. I believe it was this line that was changing
   the decimals to squares:
 *     ```
       #post_wrap li{list-style-type:square}
       ```
   
 * Just comment out that line. The usual caveat applies (though from your previous
   comment, it sounds like it might not apply in your case) – any changes you make
   directly editing the css file could possibly be lost if you update the theme.
   In that case, create a child theme or use a plugin to allow you to update css
   outside of the theme.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Error: Trying to get property of non-object in post-template](https://wordpress.org/support/topic/error-trying-to-get-property-of-non-object-in-post-template/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-trying-to-get-property-of-non-object-in-post-template/#post-4208240)
 * You haven’t given us much to go on, but after looking at `wp-includes/posts-template.
   php` my guess is that you may be calling `get_the_ID()` outside the loop somewhere
   in your theme, or perhaps you are trying to use `$post` without first using `
   global $post;` in a function.
 * If you could narrow it down to a specific template file and provide a code sample,
   that would be a big help.
 *   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-4210407)
 * Looks like you got it sorted out. The theme’s css was setting the list-style-
   type.

Viewing 15 replies - 166 through 180 (of 520 total)

[←](https://wordpress.org/support/users/scriptrunner/replies/page/11/?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)…
[11](https://wordpress.org/support/users/scriptrunner/replies/page/11/?output_format=md)
12 [13](https://wordpress.org/support/users/scriptrunner/replies/page/13/?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/13/?output_format=md)