Title: WordPress theme deprecated
Last modified: April 18, 2024

---

# WordPress theme deprecated

 *  [Orest Stryhunov](https://wordpress.org/support/users/carlos825/)
 * (@carlos825)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-theme-deprecated/)
 * I’m using PHP 8.1 and my website is down.
   I enabled wp_debug and see this message.
 * **Deprecated**: Optional parameter $attach_id declared before required parameter
   $height is implicitly treated as a required parameter in **/home/ieplumbr/public_html/
   wp-content/themes/localbusinesstheme/functions/dynamic-image.php** on line **
   225**
 * **Deprecated**: Optional parameter $img_url declared before required parameter
   $height is implicitly treated as a required parameter in **/home/ieplumbr/public_html/
   wp-content/themes/localbusinesstheme/functions/dynamic-image.php** on line **
   225**
 * **Fatal error**: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::
   __construct(), 0 passed in /home/ieplumbr/public_html/wp-includes/class-wp-widget-
   factory.php on line 62 and at least 2 expected in /home/ieplumbr/public_html/
   wp-includes/class-wp-widget.php:163 Stack trace: #0 /home/ieplumbr/public_html/
   wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /home/
   ieplumbr/public_html/wp-includes/widgets.php(115): WP_Widget_Factory->register(‘
   ink_widget_map’) #2 /home/ieplumbr/public_html/wp-content/themes/localbusinesstheme/
   functions/google_map_widget.php(147): register_widget(‘ink_widget_map’) #3 /home/
   ieplumbr/public_html/wp-content/themes/localbusinesstheme/functions.php(13): 
   require_once(‘/home/ieplumbr/…’) #4 /home/ieplumbr/public_html/wp-settings.php(
   663): include(‘/home/ieplumbr/…’) #5 /home/ieplumbr/public_html/wp-config.php(
   91): require_once(‘/home/ieplumbr/…’) #6 /home/ieplumbr/public_html/wp-load.php(
   50): require_once(‘/home/ieplumbr/…’) #7 /home/ieplumbr/public_html/wp-blog-header.
   php(13): require_once(‘/home/ieplumbr/…’) #8 /home/ieplumbr/public_html/index.
   php(17): require(‘/home/ieplumbr/…’) #9 {main} thrown in **/home/ieplumbr/public_html/
   wp-includes/class-wp-widget.php** on line **163**
 * Can you help me?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-theme-deprecated%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-theme-deprecated/#post-17696380)
 * This needs to be addressed by your theme’s developer. I can’t find a theme named“**
   localbusinesstheme**“. Where did you get it?
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-theme-deprecated/#post-17697727)
 * Attention: if you open the link in your post, the site now looks hacked. Take
   a look at this article:
 * > [FAQ My site was hacked](https://wordpress.org/documentation/article/faq-my-site-was-hacked/)
 * I would recommend you delete everything and restore the project from a clean 
   backup. Then you should take a look at this article: [https://developer.wordpress.org/advanced-administration/security/hardening/](https://developer.wordpress.org/advanced-administration/security/hardening/)
 * And to your question: the theme that caused the error seems to be a commercial
   theme from here: [https://www.inkthemes.com/tags/inkthemes-products/](https://www.inkthemes.com/tags/inkthemes-products/)–
   unfortunately there are questions about commercial products here in the forum
   [not permitted](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   If you want to continue using it, please contact support there, although I suspect
   that the theme hasn’t been available there for some time and you should get a
   new one if you set up your website again after the hack.

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

The topic ‘WordPress theme deprecated’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/wordpress-theme-deprecated/#post-17697727)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
