Actually the warnings and the notices are not harmful they are just messages and suggest you to fix the issues. If you are a developer then you should always try to handle the notices and warnings nicely.
Notices and warnings happens when something is not already defined for example. If you created a variable in PHP $customer_id which would get the customer id after form submission.
Please find here how to properly handle the notices if you are developer. PHP Error. Notice: Undefined Index
In case you have not developed the script and just want to disable the warnings and notices then follow steps below.
Bad thing about the WAMP is that it do not let you complete work without fixing the error. So better disable if you consider the errors are fine and are not harmful.
How to Disable warning and notice message for wamp
Open your php.ini file in any text editor if you don’t have any you may use notepad++. VisualStudio Code is also a great and free software to edit code files.
Now try to find this line
Replace the above ilne in your php.ini with the following line. This would disable the notices and warnings in your PHP for WAMP enviornment.
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?