Title: Steingard's Replies | WordPress.org

---

# Steingard

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Where Did You Hear About Us Checkout Field for WooCommerce] Disable if logged in](https://wordpress.org/support/topic/disable-if-logged-in/)
 *  Thread Starter [Steingard](https://wordpress.org/support/users/tsteingard/)
 * (@tsteingard)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/disable-if-logged-in/#post-18270172)
 * I discovered that this is already a feature of the plugin. The issue I have is
   that I am using Avada theme, which currently re-inserts this field when it inserts
   an Order Notes field into the Additional Fields during checkout. I have created
   a plugin to override this override and I’m going to contact the Avada developers
   about this bug, as it likely creates problems for other similar plugins.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Chase E-xact for Gravity Forms] Issue with conditional logic](https://wordpress.org/support/topic/issue-with-conditional-logic/)
 *  Thread Starter [Steingard](https://wordpress.org/support/users/tsteingard/)
 * (@tsteingard)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/issue-with-conditional-logic/#post-12213176)
 * These edits to lines 455 and 458 seem to fix my issue. Please consider altering
   the plugin so that this fix is maintained.
 * 455 `if ($field->type == "option" || ($field->type == "product" && (isset($quantities[
   $field->id]) || isset($product[2])))) {`
 * 458 `$quantity = 0;`
 * I’m curious to know why the quantity was set to 1? Was there another prior use
   case where 1 was necessary? Does this change have other implications?
    -  This reply was modified 6 years, 7 months ago by [Steingard](https://wordpress.org/support/users/tsteingard/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Sermon Manager] Issues after latest updates – display and function](https://wordpress.org/support/topic/issues-after-latest-updates-display-and-function/)
 *  [Steingard](https://wordpress.org/support/users/tsteingard/)
 * (@tsteingard)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/issues-after-latest-updates-display-and-function/#post-10149367)
 * In the settings I only see “Display audio player on archive pages”. Nothing about
   the video player is mentioned.
 * I was trying to edit the excerpt myself to get the result I want, but the documentation
   online isn’t leading me to the correct solution. So, I’ll leave my notes here
   on what I’m hoping for.
 * Changes to the new excerpt layout:
    • If there is video included with the post,
   don’t show the series art at all. Video trumps all. Instead, display the video
   on the left column filling 2/3 of the width, and push the title and description
   over to fill the right-hand 1/3 of the excerpt. If there is no video, then the
   current layout makes sense to me. • I have had feedback from a couple of websites
   that use WP Sermon Manager where people have said that they need a “read more”
   style link at the bottom right of the excerpt. Apparently it’s not intuitive 
   for everybody to know to click the title link. In my case, I would personally
   change the read more text to say, “Access sermon resources, sermon notes, and
   small group curriculum”, or “Download more sermon notes and curriculum”…but I
   understand that may not be for everybody, so I may do that in a jQuery tweak.
   Ideally I’d love to do it in an excerpt template change.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Sermon Manager] Issues after latest updates – display and function](https://wordpress.org/support/topic/issues-after-latest-updates-display-and-function/)
 *  [Steingard](https://wordpress.org/support/users/tsteingard/)
 * (@tsteingard)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/issues-after-latest-updates-display-and-function/#post-10099040)
 * The Changelog says “Change: Add new layouts to shortcode output”. I think the
   new layout looks great overall, but I had been using the fact that the shortcode
   output included the video and audio. Now that’s gone, I’m wondering if there 
   is some additional way to control this new layout. I’m not seeing a View template
   file for it :s
 * Josh, to solve your problem you can add the following CSS to your theme:
    #main.
   wpfc-sermon-image-img { padding-top: 0; }
 * To add space between the listings, add this CSS:
    #main article.wpfc_sermon {
   margin-bottom: 30px; }
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Invalid argument …foreach() in capabilities.php](https://wordpress.org/support/topic/invalid-argument-foreach-in-capabilitiesphp/)
 *  [Steingard](https://wordpress.org/support/users/tsteingard/)
 * (@tsteingard)
 * [20 years ago](https://wordpress.org/support/topic/invalid-argument-foreach-in-capabilitiesphp/#post-369025)
 * I don’t know, then. I was having a problem on a Windows IIS server, so I advised
   my client to get his host to move to a Linux box with Apache/PHP/MySQL, and then
   I ran into this issue with the PHP “magic quotes” being turned on. So, I figured
   out how to turn it off, and voila.
 * _kingmedia_, what are you seeing on your site? Are you getting the slashes before
   anything that has quotes on it? If so, then your issue is with Magic Quotes in
   PHP. If not, then you’ve got a completely different issue.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Invalid argument …foreach() in capabilities.php](https://wordpress.org/support/topic/invalid-argument-foreach-in-capabilitiesphp/)
 *  [Steingard](https://wordpress.org/support/users/tsteingard/)
 * (@tsteingard)
 * [20 years ago](https://wordpress.org/support/topic/invalid-argument-foreach-in-capabilitiesphp/#post-369019)
 * I just have _php\_flag magic\_quotes\_runtime Off_ … no “set_” in there … so,
   I’m not sure what to say. Did you do a phpinfo(); on your site to see if your
   magic_quotes is even on?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Invalid argument …foreach() in capabilities.php](https://wordpress.org/support/topic/invalid-argument-foreach-in-capabilitiesphp/)
 *  [Steingard](https://wordpress.org/support/users/tsteingard/)
 * (@tsteingard)
 * [20 years ago](https://wordpress.org/support/topic/invalid-argument-foreach-in-capabilitiesphp/#post-369017)
 * Figured it out! Thanks to _jimre_, who [posted the information about the PHP feature of magic_quotes](http://wordpress.org/support/topic/71440),
   I decided to do some reearch at [php.net](http://ca3.php.net/manual/de/security.magicquotes.php)
   and found that only the magic_quotes_runtime should be turned off.
 * When this piece of data regarding access permissions is pulled from the database
   magic_quotes_runtime was adding a backslash before the quote character, so **
   a:5:{s:13:”administrator”…** was turning into **a:5:{s:13:\”administrator\”…**.
   What is WP to do with this random bit of information? Return an error of course!
 * So, I turned ONLY the magic_quotes_runtime feature off through the .htaccess 
   file within /wordpress/, and voila. Turning off the magic_quotes_gpc ended up
   shutting down the site all together… so a bit of Trial and Error was involved,
   but my issue is now resolved.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Invalid argument …foreach() in capabilities.php](https://wordpress.org/support/topic/invalid-argument-foreach-in-capabilitiesphp/)
 *  [Steingard](https://wordpress.org/support/users/tsteingard/)
 * (@tsteingard)
 * [20 years ago](https://wordpress.org/support/topic/invalid-argument-foreach-in-capabilitiesphp/#post-369016)
 * Since moving over from an IIS server to a fresh Linux with Apache 2 Handler (
   not sure what ‘handler’ means) + PHP 5.0.4 installation… I am now getting this
   error when attempting to log in to the Admin area.
 * It is pulling from the same old database that was not altered in the move, so
   I tried re-installing WordPress thinking that it might have some ‘calibrating’
   features unique for the server upon install and that the old files wouldn’t work.
   After 3 or 4 re-installs, my issues remain and I am finding little consolation
   on these support forums for this error.
 * I do not have a broken string as illamental did, so that didn’t help. So, my 
   client’s site is down until I can rectify the issue. My guess is that it’s something
   to do with Apache or PHP (since that’s the only thing that changed in the move),
   but I have no idea what.
 * _Edit: Since posting this, I checked out [this post](http://wordpress.org/support/topic/71440)
   which had been resolved. However… their solution with the .htaccess file did 
   not solve my issue. I am going to contact my host to see if they can disable 
   that PHP function from their end._

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