Error - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Error

S

shkil

Template 3 years ago

template newskit Exception::__construct(): Argument #2 ($code) must be of type int, string given

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #94851

Hi there!

Sorry for your issue.

WHich PHP version you are using, please? Would you please describe it more about where and how you met with this error?

Best Regards

0
EM
Eduardo Sergio Galloni Miguel
Accepted Answer
2 years ago #101025

The same thing is happening to me, and I can neither create nor edit pages, I have php 7.4 and joomla 4.2.6 and SP Page Builder 4.0.7, I do not know what to do more, until yesterday it worked fine and today I started to give me the error:

Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]])

and I can no longer edit or create pages.

0
PO
Pavle Obradovic
Accepted Answer
2 years ago #113003

I got the same Error, and the problem was the SP Page wrong Language selection. Open SP Page that does not work, than go to Page Options, and then slect right Language.

In my case, it was Serbian Language Page, and English Language was selected under Page Options. Whec I changed Language to Serbian, it started working...

0