Title: The theme breaks wordpress
Last modified: August 12, 2022

---

# The theme breaks wordpress

 *  [danixdead](https://wordpress.org/support/users/danixdead/)
 * (@danixdead)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/the-theme-breaks-wordpress/)
 * The website I’m building broke in wordpress utility, I can no longer login in
   my site and it happened in 2 different sites, one that I already made changes
   and one with a fresh installation each with a different hosting provider and 
   both worked before the last update, this is the error message both pages throw:
 * `Fatal error: Uncaught Error: Call to undefined function aeonium_pattern_content()
   in /home/aimayabc/public_html/wp-content/themes/aeonium/patterns/media-text-alt.
   php:11 Stack trace: #0 /home/aimayabc/public_html/wp-includes/block-patterns.
   php(326): include() #1 /home/aimayabc/public_html/wp-includes/class-wp-hook.php(
   307): _register_theme_block_patterns('') #2 /home/aimayabc/public_html/wp-includes/
   class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /home/aimayabc/
   public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /home/aimayabc/
   public_html/wp-settings.php(598): do_action('init') #5 /usr/local/cpanel/3rdparty/
   wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1291):
   require('/home/aimayabc/...') #6 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/
   wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1212): WP_CLI\Runner->load_wordpress()#
   7 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/
   php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner- in /home/aimayabc/public_html/
   wp-content/themes/aeonium/patterns/media-text-alt.php on line 11 Error: Ha habido
   un error crítico en esta web.Más información sobre la solución de problemas de
   WordPress. Ha habido un error crítico en esta web. <!-- wp:group {"align":"full","
   layout":{"contentSize":"66rem"}} --> <div class="wp-block-group alignfull"><!--
   wp:media-text {"mediaLink":"`
    -  This topic was modified 3 years, 8 months ago by [danixdead](https://wordpress.org/support/users/danixdead/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fthe-theme-breaks-wordpress%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Theme Author [UXL Themes](https://wordpress.org/support/users/uxl/)
 * (@uxl)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/the-theme-breaks-wordpress/#post-15910913)
 * You would only get the `Call to undefined function aeonium_pattern_content()`
   error if the `aeonium_pattern_content()` function did not exist, but this function
   does exist in the theme.
 * So, it looks like something is removing this function from the theme’s _functions.
   php_ file.
 * Have you or anyone else modified the theme’s _functions.php_ file?
    Or possibly
   some other third-party WordPress plugin, or a cPanel plugin is making changes
   to the theme which is then causing the error.
 * I can see on your site you now have a different theme active.
    You could try 
   deleting the Aeonium theme and then installing it again, so that it is a fresh
   unmodified version of the theme.
 *  Thread Starter [danixdead](https://wordpress.org/support/users/danixdead/)
 * (@danixdead)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/the-theme-breaks-wordpress/#post-15911556)
 * yeah, just did a fresh install of wordpress to see if there was a problem of 
   my hosting provider, the functions.php file wasn’t manualy modified and this 
   are the only plugins I installed:
    - Akismet Anti-Spam
    - Contact Form 7
    - Limit Login Attemps Reloaded
    - WP Super Cache
    - Yoast SEO
 * I have all of these installed and up to date in other site and didn’t cause any
   problem.
    The problem is that I manage the site thru wordpress toolkit via cpanel,
   but after installing/updating the theme the toolkit couldn’t recognize the wordpress
   installation and says the page is broken, I can access via wp-admin but the user/
   password was saved in cpanel and didn’t save it, and couldn’t reset the password.
   One site had smart updates enabled and the other don’t, it could be that WordPress
   Toolkit is doing something but there is where I installed the theme.
 * I already did a fresh install in one of my sites but the same happened.
 *  Theme Author [UXL Themes](https://wordpress.org/support/users/uxl/)
 * (@uxl)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/the-theme-breaks-wordpress/#post-15911942)
 * Thanks for the detailed information.
 * I have tested this using the cPanel WordPress Toolkit to create a new installation
   with the same plugins and the Aeonium theme, and it all works correctly with 
   no errors.
 * It sounds like the issue could be something unique to your setup or hosting environment.
 * Are you able to login to your site’s WordPress Dashboard (not the cPanel WordPress
   Toolkit interface) and navigate to ‘Tools’ > ‘Site Health’ > ‘Info’ and click
   the ‘Copy site info to clipboard’ and then paste the information in a reply here?
 * Separately in your cPanel WordPress Toolkit interface, there should be a “Logs”
   link. If you open that, are there any log entries marked “ERROR” (highlighted
   in red) or “WARNING” (highlighted in orange color)?
 *  Theme Author [UXL Themes](https://wordpress.org/support/users/uxl/)
 * (@uxl)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/the-theme-breaks-wordpress/#post-15912011)
 * Update: I have now been able to recreate the issue that you are seeing.
 * In the cPanel WordPress Toolkit interface, below the screenshot for the managed
   site there is a button marked “Log in” and when I click that I get this error:“
   _WordPress administrator credentials are missing_“.
 * To the right of the login button there is a “Setup” link, and when I click this
   I see the same error message that you originally posted.
 * The thing is, I can view the live website with any issues, and I can login to
   the site dashboard (wp-admin) without any issues, if I manually enter the url(
   mywebsite.com/wp-login.php) in the browser address bar.
 * I suspect the issue may be something to do with the WordPress inbuilt functionality
   that registers a theme’s block patterns. It may be running either too early or
   too late. Not 100% sure so I will have to do some more digging into this.
 *  Thread Starter [danixdead](https://wordpress.org/support/users/danixdead/)
 * (@danixdead)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/the-theme-breaks-wordpress/#post-15912107)
 * Yeah, I really like the theme and it was working great and this happened, I’ll
   be following up.
 * Thanks for your support, really appreciate it. 🙂
 *  Theme Author [UXL Themes](https://wordpress.org/support/users/uxl/)
 * (@uxl)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/the-theme-breaks-wordpress/#post-15913418)
 * I’ve pushed an update to the theme to work around and fix this issue.
 * Please update Aeonium to version 1.0.2 and refresh the site in the cPanel WordPress
   Toolkit and all should then work correctly.
 * It seems the original issue was only present when using the cPanel WordPress 
   Toolkit. Maybe it does something different and non-standard in the way it loads
   php functions and WP hooks? I’m not sure but anyway it is fixed in the v1.0.2

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

The topic ‘The theme breaks wordpress’ is closed to new replies.

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

## Tags

 * [breaks](https://wordpress.org/support/topic-tag/breaks/)
 * [broke](https://wordpress.org/support/topic-tag/broke/)
 * [cPanel](https://wordpress.org/support/topic-tag/cpanel/)
 * [login](https://wordpress.org/support/topic-tag/login/)

 * 6 replies
 * 2 participants
 * Last reply from: [UXL Themes](https://wordpress.org/support/users/uxl/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/the-theme-breaks-wordpress/#post-15913418)
 * Status: not resolved