close

[Solved] Warning: A non-numeric value encountered

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Warning: A non-numeric value encountered in php. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Warning: A non-numeric value encountered Error Occurs?

Today I get the following error Warning: A non-numeric value encountered in php.

How To Solve Warning: A non-numeric value encountered Error ?

  1. How To Solve Warning: A non-numeric value encountered Error ?

    Solve Warning: A non-numeric value encountered Error In my case it was because of me used + as in other language but in PHP strings concatenation operator is ..

  2. Solve Warning: A non-numeric value encountered Error

    Solve Warning: A non-numeric value encountered Error In my case it was because of me used + as in other language but in PHP strings concatenation operator is ..

Solution 1

Not exactly the issue you had but the same error for people searching.

This happened to me when I spent too much time on JavaScript.

Coming back to PHP I concatenated two strings with + instead of . and got that error.

Solution 2

In my case it was because of me used + as in other language but in PHP strings concatenation operator is ..

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment