Title: Theme broken with WP 4.5?
Last modified: August 31, 2016

---

# Theme broken with WP 4.5?

 *  Resolved [marioace](https://wordpress.org/support/users/marioace/)
 * (@marioace)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/)
 * Hi
    My website was updated to WordPress 4.5 but the theme is giving me a headache,
   because is causing an overhaul in php memory when i tried to enter into the WordPress
   Admin Panel.
 * Anyone has suffered something similiar? Can anyone help me please?
 * Regards

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

1 [2](https://wordpress.org/support/topic/theme-broken-with-wp-45/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/theme-broken-with-wp-45/page/2/?output_format=md)

 *  [WEN Solutions](https://wordpress.org/support/users/wen-solutions/)
 * (@wen-solutions)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279452)
 * Hello [@marioace](https://wordpress.org/support/users/marioace/)
 * There is currently a known issue with WordPress 4.5 jQuery.
    But you issue is
   not much clear whether its a jquery issue or something else. So please tell you
   issue in more detail so that I can figure out the problem.
 * Regards!!!
 *  Thread Starter [marioace](https://wordpress.org/support/users/marioace/)
 * (@marioace)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279491)
 * Thanks for your answer WEN Solutions,
    the problem comes when i tried to enter
   into the Admin Panel, with the theme active. I can browse the website, but when
   i tried to enter into the dashboard, it gives me a Fatal Error: “Fatal error:
   Allowed memory size of 268435456 bytes exhausted”
 * Disabling the theme, i can enter normally into the admin panel. It’s not a plugin
   problem, is related to the theme.
 * Regards
 *  [WEN Solutions](https://wordpress.org/support/users/wen-solutions/)
 * (@wen-solutions)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279604)
 * WordPress overrides PHP’s memory limit to 256M, with the assumption that whatever
   it was set to before is going to be too low to render the dashboard. You can 
   override this by defining WP_MAX_MEMORY_LIMIT in wp-config.php:
 * `define( 'WP_MAX_MEMORY_LIMIT' , '512M' );`
 * Hope this helps!
 *  Thread Starter [marioace](https://wordpress.org/support/users/marioace/)
 * (@marioace)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279610)
 * I did that
    It’s something related to theme-options.php
 * with this:
 * $profitmag_postlist[0] = array(
    ‘value’ => 0, ‘label’ => ‘–choose–‘ ); $arg 
   = array(‘posts_per_page’ => -1); $profitmag_posts = get_posts($arg); foreach(
   $profitmag_posts as $profitmag_post ) : $profitmag_postlist[$profitmag_post->
   ID] = array( ‘value’ => $profitmag_post->ID, ‘label’ => $profitmag_post->post_title,);
   endforeach; wp_reset_postdata();
 *  [wensolutionsupport](https://wordpress.org/support/users/wensolutionsupport/)
 * (@wensolutionsupport)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279616)
 * Hello,
    It might not be totally the themes fault. The error can sometimes be 
   triggered by some plugins according to my research. So try and deactivate all
   your plugins and see if it works. If it does try and activate plugins one by 
   one and see which plugin is causing the error.
 * best regards
 *  Thread Starter [marioace](https://wordpress.org/support/users/marioace/)
 * (@marioace)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279617)
 * Thanks
 * Did that too, one on one and all of them, i tried almost everything that i found
   on internet related to that message.
    the only thing that worked was commenting
   this function from functions.php
 * require get_template_directory().’/inc/admin-panel/theme-options.php’;
 *  [WEN Solutions](https://wordpress.org/support/users/wen-solutions/)
 * (@wen-solutions)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279619)
 * Hello [@marioace](https://wordpress.org/support/users/marioace/)
 * Sorry for the inconvenience.
 * We would like to inform you that the new major update (version 2.0.0) has just
   been released with the Theme Option replaced by light-weight and flexible Customizer
   Options.
 * Please update the latest version of the theme.
 * If the issue still continues feel free to report.
 * Further you can take help from the documentation of this theme here
 * [http://themepalace.com/theme-instructions/profitmag-pro/](http://themepalace.com/theme-instructions/profitmag-pro/)
 * Let us know how it goes.
 * Best Regards!!
 *  [JackJohnston99](https://wordpress.org/support/users/jackjohnston99/)
 * (@jackjohnston99)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279624)
 * My profitmag theme just took a big crap.
 * The homepage is totally broken.
 * No changes were made by me to result in this problem.
 * What happened to it in the pas day or two to cause this?
 * Jack
 *  Theme Author [Rigorous Themes](https://wordpress.org/support/users/wpgaint/)
 * (@wpgaint)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279628)
 * Hi Jack,
    Profitmag is updated to version 2.0.0 As this is major update few changes
   are different than older version. To follow standards and new rules of WordPress
   those changes have been done. You can find most of your answer on our FAQ page.
   Please visit [here](http://rigorousthemes.com/faq/) If you need further help 
   feel free to contact us anytime. Thank you.
 *  [Manesh Timilsina](https://wordpress.org/support/users/maneshtimilsina/)
 * (@maneshtimilsina)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279633)
 * Hi Jack,
 * Profitmage have been recently updated to 2.0.0, Theme Option is converted to 
   Customizer.
 * Profitmag 2.0.0 is the major update. Some changes in old layout and functionality
   have been done.
 *  As frontpage shows latests posts in default you are seeing default listing.
 * To see blocks like demo you can follow answer in [FAQ](http://rigorousthemes.com/faq/)
   page of [Rigorous Themes](http://rigorousthemes.com/).
 * Click [here](http://rigorousthemes.com/faq/)
 * If you still could not find solution, feel free to share your site url so that
   debugging will be more easier.
 * Thank you.
 *  [newsturk](https://wordpress.org/support/users/newsturk/)
 * (@newsturk)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279634)
 * Hi! Creating “Home” page doesnt solve the problem of old homepage. When I set
   Home as default it doesnt redirect
 *  Theme Author [Rigorous Themes](https://wordpress.org/support/users/wpgaint/)
 * (@wpgaint)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279635)
 * Hi Newstruk,
    Can you please provide us your site url? Latest Posts might be 
   because of cache as it was added from JS in old version which have been removed
   and added in header in latest version. After you create home page please go to“
   Settings >> Reading” and select “A static Page” option, assign newly created 
   blank ‘Home’ page under Front Page dropdown. You can see screenshot [here](http://rigorousthemes.com/wp-content/uploads/2016/04/Reading-Settings-%E2%80%B9-Profitmag-%E2%80%94-WordPress.png)
 *  [JackJohnston99](https://wordpress.org/support/users/jackjohnston99/)
 * (@jackjohnston99)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279647)
 * The website page is [http://www.eflstar.com](http://www.eflstar.com).
 * I’ll try reassigning content to the page with the customizer.
 *  [JackJohnston99](https://wordpress.org/support/users/jackjohnston99/)
 * (@jackjohnston99)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279649)
 * No luck. Reasigning blocks doesn’t help. I’ve tried changing the number of rows
   for each category, etc.
 * Theme is broken as of 2.0.0
 * Jack
 *  [wensolutionsupport](https://wordpress.org/support/users/wensolutionsupport/)
 * (@wensolutionsupport)
 * [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/#post-7279658)
 * Hello,
 * Actually the theme is not broken. The problem here is slider not supporting the`
   <iframe width="832" height="624" src="https://www.youtube.com/embed/PhYjw09lZjc"
   >` video embedding tag you are currently using on your slider. If you use images
   instead of the video, you will be able to setup rest of your home page with out
   breaking a sweat.
    I personally have checked the functionality of the customization
   setting, it seems to work fine until now, and will continue to work as long as
   you follow the procedures and a most important step which is selecting the home
   page and the blog page instead of your latest post from Dashboard => Appearance
   => Customize => Static front page.
 * Sorry if you wanted to slide videos, it is being worked on and will be fixed 
   on one of the next updates
 * best regards.

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

1 [2](https://wordpress.org/support/topic/theme-broken-with-wp-45/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/theme-broken-with-wp-45/page/2/?output_format=md)

The topic ‘Theme broken with WP 4.5?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/profitmag/3.0.2/screenshot.png)
 * ProfitMag
 * [Support Threads](https://wordpress.org/support/theme/profitmag/)
 * [Active Topics](https://wordpress.org/support/theme/profitmag/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/profitmag/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/profitmag/reviews/)

## Tags

 * [WordPress 4.5](https://wordpress.org/support/topic-tag/wordpress-4-5/)

 * 20 replies
 * 7 participants
 * Last reply from: [Rigorous Themes](https://wordpress.org/support/users/wpgaint/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/theme-broken-with-wp-45/page/2/#post-7279675)
 * Status: resolved