Title: Depreciated / Required parameter
Last modified: June 22, 2022

---

# Depreciated / Required parameter

 *  [localadvertising](https://wordpress.org/support/users/localadvertising/)
 * (@localadvertising)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/depreciated-required-parameter/)
 * Hello, when I type in my website url, the following error message occurs. Please
   help!
 * ”
    Deprecated: Required parameter $post follows optional parameter $style in /
   home3/localad4/public_html/wp-content/themes/essentials/inc/woocommerce.php on
   line 348
 * Deprecated: Required parameter $nonce follows optional parameter $style in /home3/
   localad4/public_html/wp-content/themes/essentials/inc/woocommerce.php on line
   348
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home3/localad4/public_html/wp-content/themes/essentials/inc/woocommerce.php:
   348) in /home3/localad4/public_html/wp-includes/pluggable.php on line 1421
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home3/localad4/public_html/wp-content/themes/essentials/inc/woocommerce.php:
   348) in /home3/localad4/public_html/wp-includes/pluggable.php on line 1424
    ”
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdepreciated-required-parameter%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/depreciated-required-parameter/#post-15762292)
 * The error is caused by the Theme Essentials you are using in combination with
   the PHP version you are using. I suspect that you are using PHP 8.0 or newer 
   and this theme is not compatible with that version.
 * My recommendation for a quick solution would be to set the PHP version to 7.4–
   this should theoretically make the theme compatible.
 * If that doesn’t help, please contact the theme developer’s support. Since this
   is a commercial theme, questions about it are not allowed here in this forum.
   So please contact the support here: [https://essentials.pixfort.com/](https://essentials.pixfort.com/)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [3 years, 10 months ago](https://wordpress.org/support/topic/depreciated-required-parameter/#post-15762297)
 * Is your theme up to date?
 * You’re using a commercial/premium theme, so please use their official support
   channel. We feel they are best equipped to support their products.
 * [https://themeforest.net/item/essentials-multipurpose-wordpress-theme/27889640/support](https://themeforest.net/item/essentials-multipurpose-wordpress-theme/27889640/support)
 * **Commercial products are [not supported in these forums](https://make.wordpress.org/support/trouble/section-1-getting-started/what-is-not-supported).**
 *  Thread Starter [localadvertising](https://wordpress.org/support/users/localadvertising/)
 * (@localadvertising)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/depreciated-required-parameter/#post-15762319)
 * Hello! I solved the problem using threadi’s suggestion – I updated my PHP to 
   7.4 and it’s working just fine now! Thank you so much to everyone that posted
   and I appreciate the other resources you were able to provide.
 * All the best,
    Grace

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

The topic ‘Depreciated / Required parameter’ is closed to new replies.

## Tags

 * [depreciated](https://wordpress.org/support/topic-tag/depreciated/)
 * [parameter](https://wordpress.org/support/topic-tag/parameter/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [localadvertising](https://wordpress.org/support/users/localadvertising/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/depreciated-required-parameter/#post-15762319)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
