Title: leviticus's Replies | WordPress.org

---

# leviticus

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Notifications Backup Email](https://wordpress.org/support/topic/notifications-backup-email/)
 *  [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/notifications-backup-email/#post-9518513)
 * We are having a similar problem. I’m not sure if it’s from people visiting the
   page, but I have gotten at least a hundred email notifications of a backup.
 * We have wordpress installed in a subdirectory as well.
 * I am getting the same error message that javicorper received in the link above
   when I try to create a manual backup:
 * > The directory supplied in Backup Location cannot be used as a valid directory.
   > The directory /public_html/blog/wp-content/uploads/ithemes-security/backups
   > could not be created due to an unknown error. This could be due to a permissions
   > issue.
 * I also cannot save settings changes due to the above error.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Discontinued: Srizon Social Album :Do Not Install] Galleries not showing / Page broken](https://wordpress.org/support/topic/galleries-not-showing-page-broken/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/galleries-not-showing-page-broken/#post-6410423)
 * Ok. That worked. Is there something incorrect in the Facebook app I created for
   the page?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Discontinued: Srizon Social Album :Do Not Install] Galleries not showing / Page broken](https://wordpress.org/support/topic/galleries-not-showing-page-broken/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/galleries-not-showing-page-broken/#post-6410407)
 * [http://fortunelake.org/about/photo-albums/](http://fortunelake.org/about/photo-albums/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Videopack] Warning: Cannot modify header information – headers already sent](https://wordpress.org/support/topic/warning-cannot-modify-header-information-headers-already-sent-24/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-headers-already-sent-24/#post-5777297)
 * Thanks, that helped narrow down the issue. Turned out to be a missing wp-includes
   file.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Error revised date](https://wordpress.org/support/topic/error-revised-date/)
 *  [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-revised-date/#post-4612982)
 * I’m getting the same thing when I use the shortcode as well as when I use `<?
   php echo do_shortcode('[file_modified id="' . $post->ID . '" format="F j, Y"]');?
   >` in my attachment.php template.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flexible Posts Widget] Get posts by author](https://wordpress.org/support/topic/get-posts-by-author/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/get-posts-by-author/#post-3837532)
 * That would be awesome. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic] Warning: in_array() [function.in-array]: Wrong datatype for second argument](https://wordpress.org/support/topic/warning-in_array-functionin-array-wrong-datatype-for-second-argument/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/warning-in_array-functionin-array-wrong-datatype-for-second-argument/#post-3293724)
 * Thanks for your quick reply alanft. I upgraded to 0.55 and still had the error,
   so I went through my WL and I think it was having trouble with the way I was 
   trying to get ancestors of a page:
    `global $post; return ( is_page('community')
   || $post->post_parent == '15' || in_array( 15, get_post_ancestors($post)) );`
   I changed it to a is_tree function found here [http://wordpress.org/support/topic/is_tree-function](http://wordpress.org/support/topic/is_tree-function)
   but that created a different error: ‘Warning: Invalid argument supplied for foreach()
   in …/wp-content/themes/rutland-theme/functions.php on line 26’ which is ‘foreach(
   $anc as $ancestor) {‘ Do you know the best WL to show a widget on children and
   grandchildren of a specific page ID?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Electric Studio Auto Post Expire] [Plugin: Electric Studio Auto Post Expire] Update broke the wordpress dashboard and produced error](https://wordpress.org/support/topic/plugin-electric-studio-auto-post-expire-update-broke-the-wordpress-dashboard-and-produced-error/)
 *  [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-electric-studio-auto-post-expire-update-broke-the-wordpress-dashboard-and-produced-error/#post-3109152)
 * I’m receiving the same fatal error as well when I upgraded to 1.5.
    Running WordPress
   3.4.2
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Please remove a post](https://wordpress.org/support/topic/please-remove-a-post/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/please-remove-a-post/#post-2747470)
 * Could the links / email addresses at least be removed from both posts? Other 
   forums allow editing of past posts. I will try to be more careful in the future.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] Can't select input fields](https://wordpress.org/support/topic/plugin-contact-form-7-cant-select-input-fields/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [14 years ago](https://wordpress.org/support/topic/plugin-contact-form-7-cant-select-input-fields/#post-2698746)
 * I must have been staring at that code so long, I missed the <label></lable> error.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] 2.06 Update – Formatting Issues – Not showing theme header](https://wordpress.org/support/topic/plugin-the-events-calendar-206-update-formatting-issues-not-showing-theme-header/)
 *  [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [14 years ago](https://wordpress.org/support/topic/plugin-the-events-calendar-206-update-formatting-issues-not-showing-theme-header/#post-2723965)
 * Thanks for posting the simple fix. I got worried when my template did the same
   thing!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Razoo Donation Widget] [Plugin: Razoo Donation Widget] donation account id](https://wordpress.org/support/topic/plugin-razoo-donation-widget-donation-account-id/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [14 years ago](https://wordpress.org/support/topic/plugin-razoo-donation-widget-donation-account-id/#post-2708296)
 * I couldn’t get this plugin to work, so I ended up adding the razoo script as 
   a shortcode as described here: [http://www.labnol.org/software/javascript-in-wordpress/19396/](http://www.labnol.org/software/javascript-in-wordpress/19396/)
   along with the [Styles with Shortcodes for WordPress plugin](http://codecanyon.net/item/styles-with-shortcodes-for-wordpress/142221).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YARPP - Yet Another Related Posts Plugin] [Plugin: Yet Another Related Posts Plugin] Error in Post Editor](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-error-in-post-editor/)
 *  [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [14 years ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-error-in-post-editor/#post-2664285)
 * I’m seeing this as well, but the plugin still functions.
    WP 3.3.2 and YARPP 
   Version 3.5.1.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic] [Plugin: Widget Logic] Error: Warning in_array function in array Wrong datatype](https://wordpress.org/support/topic/plugin-widget-logic-error-warning-in_array-function-in-array-wrong-datatype/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-widget-logic-error-warning-in_array-function-in-array-wrong-datatype/#post-2592522)
 * Thanks for the suggestion. I cleared the widget logic from the widgets and the
   error messages disapeared. After some digging, I found the error was in the $
   post->ancestors call.
 *     ```
       global $post; return ( is_page('businesses') || $post->post_parent == '24' || in_array( '24', $post->ancestors) );
       ```
   
 * I changed it to
 *     ```
       global $post; return ( is_page('businesses') || $post->post_parent == '24' || in_array( 24, get_post_ancestors($post)) );
       ```
   
 * and it worked again. 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGEN Gallery] Thumbnails not displaying properly in IE8](https://wordpress.org/support/topic/plugin-nextgen-gallery-thumbnails-not-displaying-properly-in-ie8/)
 *  Thread Starter [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-thumbnails-not-displaying-properly-in-ie8/#post-1142784)
 * That solved the problem. Thanks!

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