Title: iltdevunit's Replies | WordPress.org

---

# iltdevunit

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/iltdevunit/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/iltdevunit/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/iltdevunit/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/iltdevunit/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/iltdevunit/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/iltdevunit/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[wpDirAuth] Undefined index: wpDirAuthTOS](https://wordpress.org/support/topic/undefined-index-wpdirauthtos/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-wpdirauthtos/#post-6693653)
 * I think I’ve found the problem. I added a custom error handler to my functions
   file. This was to hide an error somewhere else in the site. A bit of a dirty 
   hack, but as it’s clearly affecting the rest of the site, so I’ll rethink this.
 * Sorry to trouble you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[wpDirAuth] Undefined index: wpDirAuthTOS](https://wordpress.org/support/topic/undefined-index-wpdirauthtos/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-wpdirauthtos/#post-6693647)
 * Hi,
 * I’m using:
    LAMP (Uniserver Zero) on a windows box PHP 5.4.27, MSVC9 (Visual 
   C++ 2008) x86 Architecture Apache 2.4.9 h
 * The fatal error thing is very strange. I’ve had other strange, similar things
   happening across the site this week for no apparent reason 🙁
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Optimize Database after Deleting Revisions] Optimizer hangs indefinately](https://wordpress.org/support/topic/optimizer-hangs-indefinately/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/optimizer-hangs-indefinately/#post-6530483)
 * Fantastic!
 * I’ve tested the updated version and everything works perfectly.
 * Thanks Rolf.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Optimize Database after Deleting Revisions] Optimizer hangs indefinately](https://wordpress.org/support/topic/optimizer-hangs-indefinately/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/optimizer-hangs-indefinately/#post-6530466)
 * Runs fine for me without ‘Delete expired transients’ checked too 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Optimize Database after Deleting Revisions] Optimizer hangs indefinately](https://wordpress.org/support/topic/optimizer-hangs-indefinately/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/optimizer-hangs-indefinately/#post-6530422)
 * Hi Rolf,
 * Yes I restarted both MySQL and Apache. I too am running on a multisite.
 * Cheers.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] 'W3 Total Cache: Default settings are in use' error](https://wordpress.org/support/topic/w3-total-cache-default-settings-are-in-use-error/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/w3-total-cache-default-settings-are-in-use-error/#post-6530862)
 * Hmm, simply clicking on ‘save all settings’ further down the page cured it.
    
   Strange.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Optimize Database after Deleting Revisions] Optimizer hangs indefinately](https://wordpress.org/support/topic/optimizer-hangs-indefinately/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/optimizer-hangs-indefinately/#post-6530323)
 * In phpMyAdmin, the above query returns instantly with zero rows and no errors.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Optimize Database after Deleting Revisions] Optimizer hangs indefinately](https://wordpress.org/support/topic/optimizer-hangs-indefinately/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/optimizer-hangs-indefinately/#post-6530319)
 * This is the error I get in the apache log:
 * `WordPress database error Out of sort memory, consider increasing server sort
   buffer size for query \r\n\t\t\t SELECT`ID`AS id, 'post' AS post_type,`post_title`
   AS title,`post_modified`AS modified\r\n\t\t\t\t FROM kv5zet1n_3_posts\r\n\t\t\
   t\tWHERE`post_status`= 'trash'\r\n\t\t\tUNION ALL\r\n\t\t\t SELECT`comment_ID`
   AS id, 'comment' AS post_type,`comment_author_IP`AS title,`comment_date`AS modified\
   r\n\t\t\t\t FROM kv5zet1n_3_comments\r\n\t\t\t\tWHERE`comment_approved`= 'trash'\
   r\n\t\t\t ORDER BY post_type, UCASE(title)\t\t\r\n\t\t\t made by require_once('
   C:\\UniServerZ\\www\\kcwww\\wordpress\\wp-admin\\admin.php'), do_action('tools_page_rvg-
   optimize-db'), call_user_func_array, rvg_optimize_db, rvg_get_trash, referer:
   http://www.mysite.com/wp-admin/tools.php?page=rvg-optimize-db.php`
 * I’ve upped the sort buffer size to 256K but it still falls over.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Multisite problem](https://wordpress.org/support/topic/multisite-problem-20/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/multisite-problem-20/#post-6530302)
 * Ah fixed it.
    There’s a setting under the network options:
 * Performance > General Settings > Miscellaneous
 * Then uncheck ‘Use single network configuration file for all sites.’
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Media Category Management] Warning: call_user_func() expects parameter 1 to be a valid callback](https://wordpress.org/support/topic/warning-call_user_func-expects-parameter-1-to-be-a-valid-callback-4/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/warning-call_user_func-expects-parameter-1-to-be-a-valid-callback-4/#post-6248335)
 * Hi,
 * Yes that works fine 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic] unexpected ';' in widget_logic.php](https://wordpress.org/support/topic/unexpected-in-widget_logicphp/)
 *  [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/unexpected-in-widget_logicphp/#post-6136240)
 * This caught me out too. In my case I had this in a widget logic:
 * `is_page(123);`
 * It should be:
 * `is_page(123)`
 * Some validation on the widget logic field would be a nice addition.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Radio Buttons for Taxonomies] Custom post type support?](https://wordpress.org/support/topic/custom-post-type-support-23/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-support-23/#post-6300565)
 * I replaced remove_meta_box() with this:
 *     ```
       public function remove_meta_box()
       {
          if (!is_wp_error($this->tax_obj) && isset($this->tax_obj->object_type)) {
   
             $post_types = array('custom_post_type_a','custom_post_type_b');
             foreach($post_types as $post_type){
                remove_meta_box( $this->taxonomy.'div', $post_type, 'side' );
             }
          }
       }
       ```
   
 * Of course all this will get blown away if the plugin is updated, so it’s not 
   really a long term solution.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced post slider] Show the date ?](https://wordpress.org/support/topic/show-the-date/)
 *  [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/show-the-date/#post-5168296)
 * Hi there,
    Great plugin! Is there any progress on adding the publish date as 
   an option? I’m really keen for this feature.
 * Thanks 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Media Category Management] Warning: call_user_func() expects parameter 1 to be a valid callback](https://wordpress.org/support/topic/warning-call_user_func-expects-parameter-1-to-be-a-valid-callback-4/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/warning-call_user_func-expects-parameter-1-to-be-a-valid-callback-4/#post-6248223)
 * Thanks for the suggestions 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Media Category Management] Warning: call_user_func() expects parameter 1 to be a valid callback](https://wordpress.org/support/topic/warning-call_user_func-expects-parameter-1-to-be-a-valid-callback-4/)
 *  Thread Starter [iltdevunit](https://wordpress.org/support/users/iltdevunit/)
 * (@iltdevunit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/warning-call_user_func-expects-parameter-1-to-be-a-valid-callback-4/#post-6248198)
 * I came up with this to load the mcm functions on my custom profile page.
    I added
   the following to my theme’s functions.php page.
 *     ```
       $post_id = url_to_postid( $_SERVER['REQUEST_URI'] );
       $post = get_post($post_id);
       $slug = $post->post_name;
       if($slug=='my-account'){
          if ( ! is_admin() ) {
             include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
          }
   
          if ( is_plugin_active( 'wp-media-category-management/wp-media-category-management.php' ) ) {
             require_once( ABSPATH.'wp-content\plugins\wp-media-category-management\include\wp-mcm-admin-functions.php' );
          }
       }
       ```
   
 * I’m open to suggestions 🙂

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

1 [2](https://wordpress.org/support/users/iltdevunit/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/iltdevunit/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/iltdevunit/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/iltdevunit/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/iltdevunit/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/iltdevunit/replies/page/2/?output_format=md)