02-20-2017, 09:34 PM
Ok, lets take it step by step.
First, I need the name of the changeset that is failing, The filename or classname because the number is dynamic and changes in each install.
Second, I have no idea why you are getting that warning. The easy solution is to set your PHP error_reporting directive to E_ERROR, but ideally we should push forward and find out why the warning is appearing and fix it. If you would like to help me find out what is happening add the "var_dump" command I show in the next patch. If that is to complicated then just set the error_reporting to E_ERROR.
Finally, since we updated coreBOS to support PHP7 PDFMaker requires updating. The guys at ITS4You aren't interested, not even in picking up the work we are doing maintaining the module and distribute it. If you are using PDFMaker free you can download the coreBOS version from github, if you are using Profession, you will have to contact me directly so I can send you the updated code. Send me an email and I will send you the code.
First, I need the name of the changeset that is failing, The filename or classname because the number is dynamic and changes in each install.
Second, I have no idea why you are getting that warning. The easy solution is to set your PHP error_reporting directive to E_ERROR, but ideally we should push forward and find out why the warning is appearing and fix it. If you would like to help me find out what is happening add the "var_dump" command I show in the next patch. If that is to complicated then just set the error_reporting to E_ERROR.
Code:
diff --git a/data/CRMEntity.php b/data/CRMEntity.php
index e21e313..f787531 100755
--- a/data/CRMEntity.php
+++ b/data/CRMEntity.php
@@ -706,6 +706,7 @@ class CRMEntity {
$dbvals = $result = array();
foreach ($this->tab_name_index as $table_name => $index) {
$result = $adb->pquery("select * from $table_name where $index=?", array($this->id));
+ var_dump($table_name,$index);
$flds = $adb->fetch_array($result);
$dbvals = array_merge($dbvals,$flds);
}
Finally, since we updated coreBOS to support PHP7 PDFMaker requires updating. The guys at ITS4You aren't interested, not even in picking up the work we are doing maintaining the module and distribute it. If you are using PDFMaker free you can download the coreBOS version from github, if you are using Profession, you will have to contact me directly so I can send you the updated code. Send me an email and I will send you the code.
Joe
TSolucio
TSolucio