WAYNE CORP - Question | JoomShaper

WAYNE CORP

Rhema N. Abu

Rhema N. Abu

Template 6 months ago

i am using Wayne Corp for a website and i also need to use Community builder , now community builder required minimum of PHP8.0, but it seem Wayne Corp template only runs on PHP 7.4 , each time i update the PHP to 8 or more i get errors (see link : [https://snipboard.io/LuCmo3.jpg]

please help!

0
6 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 6 months ago #137787

I am sharing the fix with you. Basically, on other templates, go to the same file and find this line:

if (count($twofactormethods) > 1)

and change it to

if (count((array)$twofactormethods) > 1)

Please accept the answer that helped you. It will be then easier to find the solution for the other users with the same issue. There is a button to accept answer after each comment.

0
Rhema N. Abu
Rhema N. Abu
Accepted Answer
6 months ago #137829

weldon Ofi Khan, thanks for always helping out fast ! and yes i have just accepted the answers.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 5 months ago #137963

You are welcome 😊

Thanks for your appreciation as always you do.

0
Rhema N. Abu
Rhema N. Abu
Accepted Answer
6 months ago #137563

Joomshaper, i need this template issue fixed please!

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 6 months ago #137619

Hello Rhema N. Abu

Please go to this location:

templates/shaper_wayne_corp/html/mod_login

and replace default.php file with the attached file. You need to unzip the file and then replace.

default.php.zip

Best regards

0
Rhema N. Abu
Rhema N. Abu
Accepted Answer
6 months ago #137743

i just did and the issue resolved, i have updated to PHP 8.1 now.

Thanks a lot Ofi Khan for helping out.

just a lil question please , would the same PHP file work for other templates with similar issues???

0