When changing from PHP7.0 to 7.1 I get following error:
Trying to get property of non-object
« Evo Parse Error »
Error : Narrowing occurred during type inference. Please file a bug report on bugs.php.net
Error information
ErrorType[num] WARNING[2]
File /assets/snippets/maxigallery/maxigallery.php
Line 239
Source include_once($mgclass);
Current Snippet MaxiGallery
Backtrace
DocumentParser->executeParser()
index.php on line 129
DocumentParser->prepareResponse()
manager/includes/document.parser.class.inc.php on line 2737
DocumentParser->parseDocumentSource(string $var1)
manager/includes/document.parser.class.inc.php on line 2846
DocumentParser->evalSnippets(string $var1)
manager/includes/document.parser.class.inc.php on line 2587
DocumentParser->_get_snip_result(string $var1)
manager/includes/document.parser.class.inc.php on line 1895
DocumentParser->getParamsFromString(string $var1)
manager/includes/document.parser.class.inc.php on line 1976
DocumentParser->evalSnippets(string $var1)
manager/includes/document.parser.class.inc.php on line 2083
DocumentParser->_get_snip_result(string $var1)
manager/includes/document.parser.class.inc.php on line 1895
DocumentParser->evalSnippet(string $var1, array $var2)
manager/includes/document.parser.class.inc.php on line 1984
eval()
manager/includes/document.parser.class.inc.php on line 1832
include(string $var1)
manager/includes/document.parser.class.inc.php(1832) : eval()'d code on line 75
include_once()
assets/snippets/maxigallery/maxigallery.php on line 239
When reverting to PHP7.0 everything is fine.
This happens on all pages. Not only on pages which include MaxiGallery calls.
When changing from PHP7.0 to 7.1 I get following error:
When reverting to PHP7.0 everything is fine.
This happens on all pages. Not only on pages which include MaxiGallery calls.