Menu

Topic-icon Call to undefined function exif_imagetype()

  • drjonz
  • drjonz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 weeks 2 days ago #8010 by drjonz
Took today's upgrade to 3.2 and the entire website stopped (front and back) with this error.

Call to undefined function exif_imagetype()

And so I went and installed PHP 7.4 exif and that didn't help. I've disabled Security Pro for now.

Please Log in or Create an account to join the conversation.

More
4 weeks 2 days ago #8011 by Jose
Hi drjonz,

It's weird because that function is present since many many versions ago. Anyway it's a server issue that can be solved changing some parameters: stackoverflow.com/questions/16175702/cal...ction-exif-imagetype

Regards,
Jose

Please Log in or Create an account to join the conversation.

  • drjonz
  • drjonz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 weeks 2 days ago #8022 by drjonz
Replied by drjonz on topic Call to undefined function exif_imagetype()
Both are installed:
=============
exif
=============
EXIF Support: enabled
Supported EXIF Version: 0220
Supported filetypes: JPEG, TIFF
Multibyte decoding support using mbstring: enabled
Extended EXIF tag formats: Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson
=============
exif.decode_jis_intel
=============
Local Value: JIS
Master Value: JIS

=============
exif.decode_jis_motorola
=============
Local Value: JIS
Master Value: JIS

=============
exif.decode_unicode_intel
=============
Local Value: UCS-2LE
Master Value: UCS-2LE

=============
exif.decode_unicode_motorola
=============
Local Value: UCS-2BE
Master Value: UCS-2BE

=============
exif.encode_jis
=============
Local Value: no value
Master Value: no value

=============
exif.encode_unicode
=============
Local Value: ISO-8859-15
Master Value: ISO-8859-15



=============
mbstring
=============
Multibyte Support: enabled
Multibyte string engine: libmbfl
HTTP input encoding translation: disabled
libmbfl version: 1.3.2
Multibyte (japanese) regex support: enabled
Multibyte regex (oniguruma) version: 6.9.5

=============
mbstring.detect_order
=============
Local Value: no value
Master Value: no value

=============
mbstring.encoding_translation
=============
Local Value: Off
Master Value: Off

=============
mbstring.func_overload
=============
Local Value: 0
Master Value: 0

=============
mbstring.http_input
=============
Local Value: no value
Master Value: no value

=============
mbstring.http_output
=============
Local Value: no value
Master Value: no value

=============
mbstring.http_output_conv_mimetypes
=============
Local Value: ^(text/|application/xhtml\+xml)
Master Value: ^(text/|application/xhtml\+xml)

=============
mbstring.internal_encoding
=============
Local Value: no value
Master Value: no value

=============
mbstring.language
=============
Local Value: neutral
Master Value: neutral

=============
mbstring.regex_retry_limit
=============
Local Value: 1000000
Master Value: 1000000

=============
mbstring.regex_stack_limit
=============
Local Value: 100000
Master Value: 100000

=============
mbstring.strict_detection
=============
Local Value: Off
Master Value: Off

=============
mbstring.substitute_character
=============
Local Value: no value
Master Value: no value

Please Log in or Create an account to join the conversation.

  • drjonz
  • drjonz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 weeks 2 days ago #8023 by drjonz
Replied by drjonz on topic Call to undefined function exif_imagetype()
OK so the error cleared up on its own. I know it was related to my not having EXIF enabled for PHP 7.4. I do now. Thanks.

Please Log in or Create an account to join the conversation.

More
4 weeks 2 days ago #8025 by Jose
You're welcome!

I usually don't check if this function is installed as it's always installed and enabled by default. Maybe I should add some checks to avoid this fatal error.

Regards,
Jose

Please Log in or Create an account to join the conversation.

More
4 weeks 2 days ago #8026 by Jose
Confirmed: I have added some code to avoid this fatal error in a future.

Regards,
Jose

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum

Login or Sign In