Quote Originally Posted by shrimp-gumbo-mmmhhh View Post
Please forgive me but I am asking about how you fixed this issue:

UNDEFINED CONSTANT ERROR Image Handler 5 (for v1.5.6a)

ERROR#1
[22-Apr-2019 20:52:29 America/Chicago] Request URI: /XXX-p-3.html, IP address: 5.9.XX.XX
#1 include(/home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home/shrimps/public_html/includes/modules/extra_functions.php:44]
#2 include(/home/shrimps/public_html/includes/modules/extra_functions.php) called at [/home/shrimps/public_html/includes/init_includes/init_general_funcs.php:42]
#3 require(/home/shrimps/public_html/includes/init_includes/init_general_funcs.php) called at [/home/shrimps/public_html/includes/autoload_func.php:48]
#4 require(/home/shrimps/public_html/includes/autoload_func.php) called at [/home/shrimps/public_html/includes/application_top.php:170]
#5 require(/home/shrimps/public_html/includes/application_top.php) called at [/home/shrimps/public_html/index.php:26]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php on line 16.



I do not see any additional IH_VERSION or changes to the IH_VERSION in this file. Thank you!
Quote Originally Posted by simon1066 View Post
PHP 7.2.10
ZC v1.56b
IH5 v5.1.3 (from ZC plugins)

Just an FYI, on an initial IH5 installation, I get the above warnings only on the first admin page refresh after installing this mod. No further errors, although I haven't delved into the settings yet. Exact log file is:

Code:
[27-Jun-2019 09:30:23 Europe/London] Request URI: /ADMIN/index.php, IP address: 127.0.0.1
#1  require(D:\wamp64\www\MY_DOMAIN.co.uk\includes\functions\extra_functions\functions_bmz_image_handler.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\functions\extra_functions\functions_bmz_image_handler.php:18]
#2  require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\functions\extra_functions\functions_bmz_image_handler.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_general_funcs.php:45]
#3  require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_general_funcs.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php:48]
#4  require(D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php:171]
#5  require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\index.php:10]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in D:\wamp64\www\MY_DOMAIN.co.uk\includes\functions\extra_functions\functions_bmz_image_handler.php on line 16.

[27-Jun-2019 09:30:23 Europe/London] Request URI: /ADMIN/index.php, IP address: 127.0.0.1
#1  require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\languages\english\extra_definitions\image_handler_extra_definitions.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_languages.php:48]
#2  require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_languages.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php:48]
#3  require(D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php:171]
#4  require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\index.php:10]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\languages\english\extra_definitions\image_handler_extra_definitions.php on line 25.
Thanks to both of you; I need to get my eyes re-examined, since that first posting absolutely identified the error and the second simply pounded that identification!

It'll happen, as @simon1066 indicated, only on the very initial page-load since IH_VERSION isn't yet set. I've created a GitHub issue to track the resolution of the issue (https://github.com/DivaVocals/zen_Im...ler/issues/161).