T
T
Tani25012016-02-05 01:04:48
PHP
Tani2501, 2016-02-05 01:04:48

How to find source of error [error] PHP Warning: Unknown: function 'NULL' not found or invalid function name in Unknown on line 0?

[error] PHP Warning: Unknown: function 'NULL' not found or invalid function name in Unknown on line 0
How can I find the source of this error?
It appears in huge quantities in the error.log in the folder with the site.
PHP Version 5.4.6, ubuntu, apache2.2, site on opencart 1.5.5.1 At least give me an
idea where to dig.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Immortal_pony, 2016-02-05
@Immortal_pony

Disable any extra handlers. Something like this:

output_handler = None
zlib.output_handler = Off

D
Dave, 2016-02-05
@djay

I googled instead of you and found a solution to the problem in 4 seconds:
The problem is not in the OpenCart engine, but in the php.ini settings. Register if you can do it manually, or contact support to register:

zlib.output_compression = Off 
zlib.output_compression_level = -1 
zlib.output_handler = Off

P
PO6OT, 2016-02-05
@woonem

This usually means that the error is in the PHP interpreter itself or in the Extentions.
Finding a mistake is not so easy. Entire articles are devoted to this on Habré.
Try to remember, after which it began to appear.
In general, the mistake can be quite stupid.
Google :)

R
Roman_NMSK, 2017-04-04
@Roman_NMSK

found how to solve this problem! :) in phpinfo on zlib everything was turned off. but the code for the smartoptimizer script (compressing styles and scripts) was added to xtakes. after deleting this code, all errors disappeared. including check with yourself, maybe another utility uses compression and it pours into the logs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question