Codeigniter-DOMPDF icon indicating copy to clipboard operation
Codeigniter-DOMPDF copied to clipboard

A PHP Error was encountered

Open matiusrimbe99-git opened this issue 5 years ago • 1 comments

A PHP Error was encountered Severity: 8192

Message: Required parameter $img follows optional parameter $w

Filename: lib/class.pdf.php

Line Number: 4157

Backtrace:

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: _error_handler

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\dompdf_config.inc.php Line: 370 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\canvas_factory.cls.php Line: 80 Function: DOMPDF_autoload

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\dompdf.cls.php Line: 655 Function: get_instance

File: C:\xampp\htdocs\crud-ci\application\controllers\Mahasiswa.php Line: 126 Function: render

File: C:\xampp\htdocs\crud-ci\index.php Line: 315 Function: require_once

A PHP Error was encountered Severity: 8192

Message: Required parameter $data follows optional parameter $w

Filename: lib/class.pdf.php

Line Number: 4349

Backtrace:

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: _error_handler

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\dompdf_config.inc.php Line: 370 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\canvas_factory.cls.php Line: 80 Function: DOMPDF_autoload

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\dompdf.cls.php Line: 655 Function: get_instance

File: C:\xampp\htdocs\crud-ci\application\controllers\Mahasiswa.php Line: 126 Function: render

File: C:\xampp\htdocs\crud-ci\index.php Line: 315 Function: require_once

A PHP Error was encountered Severity: 8192

Message: Required parameter $imageWidth follows optional parameter $w

Filename: lib/class.pdf.php

Line Number: 4725

Backtrace:

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: _error_handler

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\dompdf_config.inc.php Line: 370 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\canvas_factory.cls.php Line: 80 Function: DOMPDF_autoload

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\dompdf.cls.php Line: 655 Function: get_instance

File: C:\xampp\htdocs\crud-ci\application\controllers\Mahasiswa.php Line: 126 Function: render

File: C:\xampp\htdocs\crud-ci\index.php Line: 315 Function: require_once

A PHP Error was encountered Severity: 8192

Message: Required parameter $imageHeight follows optional parameter $w

Filename: lib/class.pdf.php

Line Number: 0

Backtrace:

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: _error_handler

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\dompdf_config.inc.php Line: 370 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\canvas_factory.cls.php Line: 80 Function: DOMPDF_autoload

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\dompdf.cls.php Line: 655 Function: get_instance

File: C:\xampp\htdocs\crud-ci\application\controllers\Mahasiswa.php Line: 126 Function: render

File: C:\xampp\htdocs\crud-ci\index.php Line: 315 Function: require_once

A PHP Error was encountered Severity: 8192

Message: Required parameter $imgname follows optional parameter $w

Filename: lib/class.pdf.php

Line Number: 0

Backtrace:

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: _error_handler

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\cpdf_adapter.cls.php Line: 58 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\dompdf_config.inc.php Line: 370 Function: require_once

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\canvas_factory.cls.php Line: 80 Function: DOMPDF_autoload

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\dompdf.cls.php Line: 655 Function: get_instance

File: C:\xampp\htdocs\crud-ci\application\controllers\Mahasiswa.php Line: 126 Function: render

File: C:\xampp\htdocs\crud-ci\index.php Line: 315 Function: require_once

An uncaught Exception was encountered Type: Error

Message: Call to undefined function each()

Filename: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\style.cls.php

Line Number: 790

Backtrace:

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\style.cls.php Line: 727 Function: get_font_family

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\text_frame_reflower.cls.php Line: 172 Function: __get

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\text_frame_reflower.cls.php Line: 342 Function: _layout_line

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\frame_decorator.cls.php Line: 477 Function: reflow

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\block_frame_reflower.cls.php Line: 706 Function: reflow

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\frame_decorator.cls.php Line: 477 Function: reflow

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\block_frame_reflower.cls.php Line: 706 Function: reflow

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\frame_decorator.cls.php Line: 477 Function: reflow

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\page_frame_reflower.cls.php Line: 169 Function: reflow

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\frame_decorator.cls.php Line: 477 Function: reflow

File: C:\xampp\htdocs\crud-ci\application\third_party\dompdf\include\dompdf.cls.php Line: 680 Function: reflow

File: C:\xampp\htdocs\crud-ci\application\controllers\Mahasiswa.php Line: 126 Function: render

File: C:\xampp\htdocs\crud-ci\index.php Line: 315 Function: require_once

matiusrimbe99-git avatar Mar 08 '21 02:03 matiusrimbe99-git

how to solve this ?

luqmanf2600 avatar Apr 06 '21 06:04 luqmanf2600