PHP warning

A non-numeric value encountered

/home/thegbag/public_html/protected/vendors/mpdf/mpdf.php(30648)

30636             if ($fontsize) {
30637                 $size *= $fontsize * 1.5;
30638             } else {
30639                 $size *= $maxsize * 1.5;
30640             }
30641         } elseif ($size == 'xx-large') {
30642             if ($fontsize) {
30643                 $size *= $fontsize * 2;
30644             } else {
30645                 $size *= $maxsize * 2;
30646             }
30647         } else
30648             $size *= (25.4 / $this->dpi); //nothing == px
30649 
30650         return $size;
30651     }
30652 
30653     // mPDF 5.7.3 TRANSFORMS
30654     function ConvertAngle($s, $makepositive = true)
30655     {
30656         if (preg_match('/([\-]*[0-9\.]+)(deg|grad|rad)/i', $s, $m)) {
30657             $angle = $m[1] + 0;
30658             if (strtolower($m[2]) == 'deg') {
30659                 $angle = $angle;
30660             } elseif (strtolower($m[2]) == 'grad') {

Stack Trace

#0
+
 /home/thegbag/public_html/protected/vendors/mpdf/mpdf.php(20904): mPDF->ConvertSize(0, 267.00008333333, 3.5277777777778, false)
20899                         break;
20900                     case 'MARGIN-LEFT':
20901                         $this->blk[$this->blklvl]['margin_left'] = $this->ConvertSize($v, $this->blk[$prevlevel]['inner_width'], $this->FontSize, false);
20902                         break;
20903                     case 'MARGIN-RIGHT':
20904                         $this->blk[$this->blklvl]['margin_right'] = $this->ConvertSize($v, $this->blk[$prevlevel]['inner_width'], $this->FontSize, false);
20905                         break;
20906 
20907                     /* -- BORDER-RADIUS -- */
20908                     case 'BORDER-TOP-LEFT-RADIUS-H':
20909                         $this->blk[$this->blklvl]['border_radius_TL_H'] = $this->ConvertSize($v, $this->blk[$prevlevel]['inner_width'], $this->FontSize, false);
#1
+
 /home/thegbag/public_html/protected/vendors/mpdf/Tag.php(1746): mPDF->setCSS(array("MARGIN-COLLAPSE" => "COLLAPSE", "LINE-HEIGHT" => 1.5, "DIRECTION" => "ltr", "TEXT-INDENT" => "0mm", ...), "BLOCK", "DIV")
1741                         }
1742                         $currblk['list_style_type'] = $listtype;
1743                     }
1744                 }
1745 
1746                 $this->mpdf->setCSS($properties, 'BLOCK', $tag); //name(id/class/style) found in the CSS array!
1747                 $currblk['InlineProperties'] = $this->mpdf->saveInlineProperties();
1748 
1749                 if (isset($properties['VISIBILITY'])) {
1750                     $v = strtolower($properties['VISIBILITY']);
1751                     if (($v == 'hidden' || $v == 'printonly' || $v == 'screenonly') && $this->mpdf->visibility == 'visible' && !$this->mpdf->tableLevel) {
#2
+
 /home/thegbag/public_html/protected/vendors/mpdf/mpdf.php(16543): Tag->OpenTag("DIV", array("ID" => "HEADER", "STYLE" => "background-color: #fff; width: auto; margin: 0 auto;"), array(" ", "div id="header" style="background-color: #fff; width: auto; marg...", " ", "div class="header"", ...), 1)
16538                                     $attr[strtoupper($a3[1])] = trim($a3[2]);
16539                                 }
16540                             }
16541                         }
16542                     }
16543                     $this->tag->OpenTag($tag, $attr, $a, $i); // mPDF 6
16544                     /* -- CSS-POSITION -- */
16545                     if ($this->inFixedPosBlock) {
16546                         $this->fixedPosBlockBBox = array($tag, $attr, $this->x, $this->y);
16547                         $this->fixedPosBlock = '';
16548                         $this->fixedPosBlockDepth = 1;
2024-03-28 11:33:11 Apache Yii Framework/1.1.14