Title: Parameter Error Line 142
Last modified: April 24, 2018

---

# Parameter Error Line 142

 *  Resolved [sportsterrider](https://wordpress.org/support/users/sportsterrider/)
 * (@sportsterrider)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parameter-error-line-142/)
 * I’m using this widget on a number of sites with good result, however recently
   my site hosted on GoDaddy has started throwing an error at the top of the page“
   q2w3_fixed_widget.php line 42 wrong parameter count”. I’ve tried using a number
   of themes with the same result for this site but it works well on my other sites.
   This seems to be a recent problem occurring within the last update or so but 
   my other sites are using the same version with no problem. Its being caused by
   fixing the Navigation widget in the sidebar. All widgets seem to have IDs assigned
   and the header and footer have the proper .php functions. The only thing I haven’t
   been able to verify is what version of JQuery GoDaddy is using. The problem is
   displaying on all devices (pc, tablet, phone), and on both Edge and Chrome browsers
   on my pc. I looked at the .php file that is indicated but I’m not sure what parameters
   are missing or where it’s trying to find them.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparameter-error-line-142%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parameter-error-line-142/#post-10233593)
 * Hello!
 * I recommend you to disable WP_DEBUG constant in wp-config file – that should 
   remove warning message.
 * [https://codex.wordpress.org/Editing_wp-config.php#Debug](https://codex.wordpress.org/Editing_wp-config.php#Debug)
 *  Thread Starter [sportsterrider](https://wordpress.org/support/users/sportsterrider/)
 * (@sportsterrider)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parameter-error-line-142/#post-10233827)
 * Thanks for the replay Max. I checked the wp-config.php file and it was already
   set to false. The thing that is so strange is that it seemed to have become a
   problem only recently with no changes to the site with the exceptions of regular
   theme and plug-in updates. Other WP sites running on the same server (Go-Daddy)
   as well as other providers seem to be working fine.
 *  Thread Starter [sportsterrider](https://wordpress.org/support/users/sportsterrider/)
 * (@sportsterrider)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parameter-error-line-142/#post-10235725)
 * I did a bit more research on error messages and found a solution that worked.
   It is a variation of your suggestion.
    Replace the WP_DEBUG statement with the
   following: ini_set(‘display_errors’,’Off’); ini_set(‘error_reporting’, E_ALL );
   define(‘WP_DEBUG’, false); define(‘WP_DEBUG_DISPLAY’, false);
 * The error message is now gone, but still not sure what was triggering it. The
   widget seems to be working fine.

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

The topic ‘Parameter Error Line 142’ is closed to new replies.

 * ![](https://ps.w.org/q2w3-fixed-widget/assets/icon-256x256.png?rev=2384479)
 * [Fixed Widget and Sticky Elements for WordPress](https://wordpress.org/plugins/q2w3-fixed-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/q2w3-fixed-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/q2w3-fixed-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/q2w3-fixed-widget/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [sportsterrider](https://wordpress.org/support/users/sportsterrider/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/parameter-error-line-142/#post-10235725)
 * Status: resolved