Getting this error "There has been an error with your request" while ruining php script
Summary
phpContent
Hi Everyone,
i am getting the following error "There has been an error with your request" while updating the Service Product through custom script PHP.
Although , i am able to create the service product but unable to update the same.
Note*: Code executes fine untill the this line "$ServiceProduct->save(RNCPHP\RNObject::SuppressAll);" , after this simple echo is also not getting executed
Thanks!
Code Snippet
function updateProduct($PrdName,$PrdDesc,$Display_value,$Dispo_value,$catID,$EndVisible,$Admin,$parentProductID) { try{ $ServiceProduct = RNCPHP\ServiceProduct::fetch($PrdName); // echo "<pre>"; // print_r($ServiceProduct); // echo "<br>"; //echo "<br> Line no 316 "; echo "<br> Update Details "; echo "<br> PrdName ".$PrdName; echo "<br>PrdDesc ".$PrdDesc; echo "<br>Display_value
0