Page 1 of 1

PHP Notice - A non well formed numeric value encountered in themeoptions.php

Posted: Fri Aug 09, 2024 6:49 am
by plutonium78
Hi.

I am running 3.0.3.8. I bought a custom template some time ago. Unfortunately, the developer has deleted his account from Opencart, so I cannot get any support from him.

In my error journal I get the following notice:

PHP Notice: A non well formed numeric value encountered in /system/library/themeoptions.php on line 727

The code from themeoptions.php:

public function date($date, $time) {
return date($date, $time);
}

Line 727 = return date($date, $time);

Could somebody suggest how to resove this?

Re: PHP Notice - A non well formed numeric value encountered in themeoptions.php

Posted: Fri Aug 09, 2024 4:44 pm
by JNeuhoff
This is a 3rd party extension issue, not an OpenCart bug. Since the author isn't available anymore you may have to find a professional developer from the commercial support section of this forum to look into it. Or perhaps use a better theme, many 3rd party OpenCart themes are of poor quality.

Re: PHP Notice - A non well formed numeric value encountered in themeoptions.php

Posted: Sun Aug 11, 2024 3:42 am
by plutonium78
Buddy,

I did not say it's an Opencart bug. I asked whether somebody knows how to resolve this particular issue?!

Since your only "great" suggestion is to use a better theme or commercial support, perhaps you should not bother to express opinion at all if you have no clue how to be helpful.

Re: PHP Notice - A non well formed numeric value encountered in themeoptions.php

Posted: Sun Aug 11, 2024 5:27 pm
by xxvirusxx
plutonium78 wrote:
Sun Aug 11, 2024 3:42 am
I asked whether somebody knows how to resolve this particular issue?!
All developers know how to fix, but not for free :laugh: