This topic is locked
[SOLVED]

codeview vs php8

12/4/2021 1:50:11 PM
PHPRunner General questions
J
jacques author

Hey,

does anyone have experience with codeview(.js) in combination with php8

gr
Jacques

Sergey Kornilov admin 12/5/2021

What is codeview(.js) and what kind of problems you are having with it?

J
jacques author 12/5/2021

Sorry I wasn't clear enough

I used the plugin codeview from the marketplace.
When I switched to php8 I got an error message
When I disabled the plugin, the error message disappeared.
I was wondering if anyone else had any experience with this.

The error message was:

Fatal error: Declaration of ViewCodeView::showDBValue(&$data, $keylink) must be compatible with ViewControl::showDBValue(&$data, $keylink, $html = true) ViewCodeView.php on line 27

Sergey Kornilov admin 12/6/2021

Just in case make sure you use the latest version of the plugin. It should work with PHP 8.

J
jacques author 12/14/2021

solved