How to fix the error with the printer?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
13 views
You need to atypographical line: replace hyphens - dashes — inch marks " quote " and fix the rest of the typography.

Use Printer Lebedev. Works, but displays an error:
Warning: Missing argument 1 for RemoteTypograf::RemoteTypograf(), called in /var/www/vhosts/u0057069.plsk.regruhosting.ru/booksearcher.sidorchik.ru/test-typograf/index.php on line 16 and defined in /var/www/vhosts/u0057069.plsk.regruhosting.ru/booksearcher.sidorchik.ru/test-typograf/remotetypograf.php on line 35

"Dubrovsky" is an unfinished novel by Pushkin

Code:
include 'remotetypograf.php'; $remoteTypograf = new RemoteTypograf(); echo $remoteTypograf->processText ('"Dubrovsky" - the unfinished novel Pushkin'); / / Dubrovskiy — Pushkin's unfinished novel
by | 13 views

1 Answer

0 like 0 dislike
This is due to the fact that you do not specify the encoding.
Create the object like this:
$remoteTypograf = new RemoteTypograf('UTF-8');
and warning will not. They've got designer Romany somehow defined.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
5 answers
asked Jun 4, 2019 by Fajamaja
110,608 questions
257,187 answers
0 comments
40,796 users