Skip to content

A PHP Error was encountered #5

Open

Description

@matiusrimbe99-git

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

Activity

  1. luqmanf2600 commented on Apr 6, 2021

    @luqmanf2600

    how to solve this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions