Error in core.php with php7

33 views
Skip to first unread message

tomas moberg

unread,
Feb 19, 2020, 2:18:23 AM2/19/20
to nanodicom
Hi!
Just for information:

This error is introduced with php7
Fatal error: Redefinition of parameter $arg2 in core.php on line 1032


Change line 1032 in core.php and remove one of "$arg2 = NULL"
 protected function _dummy($arg1 = NULL, $arg2 = NULL, $arg2 = NULL, $arg3 = NULL, $arg4 = NULL, $arg5 = NULL)
i.e .to this:
protected function _dummy($arg1 = NULL,  $arg2 = NULL, $arg3 = NULL, $arg4 = NULL, $arg5 = NULL)



Nano.

unread,
Feb 20, 2020, 12:55:17 AM2/20/20
to nanodicom
Hi there,

I just pushed a fixed for that here: https://github.com/nanodocumet/Nanodicom/pull/20

Planning on updating Nanodicom to comply with autoloader. Stay tuned.

Cheers,

Nano.
Reply all
Reply to author
Forward
0 new messages