i don’t know what to do i’m confuse because i’m new in cakephp world can somebody help me?
here’s the code of the helper.php line 179
trigger_error(__d('cake_dev', 'Method %1$s::%2$s does not exist', get_class($this), $method), E_USER_WARNING);
this is my add.ctp
<h1>Add Inventory</h1>
<form action="<?php echo $this->Html->url("/Stocks/add"); ?>" method="post">
<p>
ProductName:
<?php echo $this->Html->input('Stock/ProductName', array('size' => '40'))?>
</p>
<p>
Price:
<?php echo $this->Html->integers('Stock/Price', array('size' => '10'))?>
</p>
<p>
Quantity:
<?php echo $this->Html->integers('Stock/Quantity', array('size' => '5'))?>
</p>
<p>
<?php echo $this->Html->submit('Save') ?>
</p>
</form>
help –,
should be
since its FormHelper function not HtmlHelper