Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A PHP Error was encountered #5

Open
matiusrimbe99-git opened this issue Mar 8, 2021 · 1 comment
Open

A PHP Error was encountered #5

matiusrimbe99-git opened this issue Mar 8, 2021 · 1 comment

Comments

@matiusrimbe99-git
Copy link

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

@luqmanf2600
Copy link

how to solve this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants