Welcome Guest, Not a member yet? Register   Sign In
[SOLVED]Error: A non-numeric value encountered
#1

(This post was last modified: 02-09-2021, 01:40 AM by alakian.)

I have this code:

PHP Code:
    public function pricesListByAjax()
    {
        if(
$this->request->isAJAX()){
            
$html ''// Line 395
            
$html += '<div>';
            
$html += '<div class=""></div>';
            
$html += '</div>';
            return 
$html;
        }
    } 

But in action I see this error:

PHP Code:
    "title""ErrorException",
    "type""ErrorException",
    "code"500,
    "message""A non-numeric value encountered",
    "file""C:\\MAMP\\htdocs\\ci4\\app\\Controllers\\ProductController.php",
    "line"395


how do can I fix this error?
Reply


Messages In This Thread
[SOLVED]Error: A non-numeric value encountered - by alakian - 02-09-2021, 01:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB