Title: lasthope's Replies | WordPress.org

---

# lasthope

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Out of memory (allocated 132120576) (tried to allocate 16822950 byt](https://wordpress.org/support/topic/fatal-error-out-of-memory-allocated-132120576-tried-to-allocate-16822950-byt/)
 *  Thread Starter [lasthope](https://wordpress.org/support/users/lasthope/)
 * (@lasthope)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-out-of-memory-allocated-132120576-tried-to-allocate-16822950-byt/#post-7042674)
 * im enabled cageFs , so change php.ini for php 5.6 in /opt/alt/php56/etc
 * and problem resolved 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Out of memory (allocated 132120576) (tried to allocate 16822950 byt](https://wordpress.org/support/topic/fatal-error-out-of-memory-allocated-132120576-tried-to-allocate-16822950-byt/)
 *  Thread Starter [lasthope](https://wordpress.org/support/users/lasthope/)
 * (@lasthope)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-out-of-memory-allocated-132120576-tried-to-allocate-16822950-byt/#post-7042669)
 * thank you for your answer
 * im server owner , and im edited php.ini and set memory limit to 512M
    im edited
   wp-config.php and add defing(wp_memory_limit,512M);
 * but problem not resolved
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [get sub cats](https://wordpress.org/support/topic/get-sub-cats/)
 *  Thread Starter [lasthope](https://wordpress.org/support/users/lasthope/)
 * (@lasthope)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get-sub-cats/#post-7011450)
 * i using this code :
 *     ```
       <?php $this_cat = (get_query_var('cat')) ? get_query_var('cat') : 1; ?>
       <?php $this_category = get_category($this_cat);
       if ( $this_category->parent ) { $this_cat = $this_category->parent; } ?>
       <?php wp_list_categories('child_of=' . $this_cat . ''); ?>
       ```
   
 * from this topic :
    [https://wordpress.org/support/topic/list-child-categories-of-current-category-page?replies=6](https://wordpress.org/support/topic/list-child-categories-of-current-category-page?replies=6)
 * and working fine 😉
    thank you <3
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [get sub cats](https://wordpress.org/support/topic/get-sub-cats/)
 *  Thread Starter [lasthope](https://wordpress.org/support/users/lasthope/)
 * (@lasthope)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get-sub-cats/#post-7011429)
 * thank you
    -  <?php wp_list_categories(‘child_of=’ . get_query_var( ‘cat’ ) ); ?>
 * bu two notes :
 * 1 – this show “categories” title , how to hide ?
    2 – in categories its working
   fine , for example : i go to website.com/learning , showing {cpanel,whm,whmcs,…}
   but when click on a post of this category , category box is destruct …
 * You can give an email address do I send the screenshot?

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