Hello,
I recently moved my mediawiki install to a new server. After confirming that database connections were successful, I'm now getting the following error:
Fatal error: Uncaught TypeError: Argument 1 passed to wfReportException() must be an instance of Exception, instance of Error given, called in /home/myaccount/public_html/wiki/main/includes/Exception.php on line 348 and defined in /home/myaccount/public_html/wiki/main/includes/Exception.php:285 Stack trace: #0 /home/myaccount/public_html/wiki/main/includes/Exception.php(348): wfReportException(Object(Error)) #1 [internal function]: wfExceptionHandler(Object(Error)) #2 {main} thrown in /home/myaccount/public_html/wiki/main/includes/Exception.php on line 285
Has anyone else ran into this error?
Any direction is appreciated.
Thanks!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hi,
On 10/1/18 10:34 AM, Gary Williams wrote:
Hello,
I recently moved my mediawiki install to a new server. After confirming that database connections were successful, I'm now getting the following error:
Fatal error: Uncaught TypeError: Argument 1 passed to wfReportException() must be an instance of Exception, instance of Error given, called in...
Based on the traceback, I think you're using an obsolete/unsupported version of MediaWiki, but upgraded your server to PHP 7.
You'll need to upgrade MediaWiki to at least 1.27 (legacy LTS release, but still supported) to be able to use it with PHP 7. See https://www.mediawiki.org/wiki/Compatibility#Software_required_to_run_M ediaWiki for some more details.
- -- Legoktm
That's what it was. Thanks for the help!! On Mon, Oct 1, 2018 at 12:05 PM Kunal Mehta legoktm@member.fsf.org wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hi,
On 10/1/18 10:34 AM, Gary Williams wrote:
Hello,
I recently moved my mediawiki install to a new server. After confirming that database connections were successful, I'm now getting the following error:
Fatal error: Uncaught TypeError: Argument 1 passed to wfReportException() must be an instance of Exception, instance of Error given, called in...
Based on the traceback, I think you're using an obsolete/unsupported version of MediaWiki, but upgraded your server to PHP 7.
You'll need to upgrade MediaWiki to at least 1.27 (legacy LTS release, but still supported) to be able to use it with PHP 7. See https://www.mediawiki.org/wiki/Compatibility#Software_required_to_run_M ediaWiki for some more details.
- -- Legoktm
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE+h6fmkHn9DUCyl1jUvyOe+23/KIFAluyYcsACgkQUvyOe+23 /KLQgw//W8c50nM8DlgJPAtUcGFMWliRu2j2QONB6gU3gt0IfnDenJxBKKee7Q5i 0oMYI0FhTR6F6Rfh9d3o4IWz6Wd4dxrydcW5nlMmLJ8uriYenmxEFWd1kIpAccLP jdWXvfzqQmM1JMWweV9u5ZAOlHB5CCv/qySpHStubiANWORbKHRQlwwEMyblv43L HcUpN+iL5FMDbhdf5fizVe0JbcMjLQQNhUIvp8/2Y93/WwcanwmKXVVn5iPiSrxR vntkGeEzGxdwJQQW3QyRea02WdPmHe8ELvStt3KjvQjl7SoHu+PA6kE4YNpNA0A+ 3MdzcaIC+EnvF6/G/ZFazyIe2jFTPdmPIREG/GL0emEbLpstSB7LjwIX73xl5LxZ JdQJa8cXZk/WaGb6vQ8V61npuRyd+j16+yq6F0mwRwm4Cg0ZQ6cT6oe7m18WKRZA LeXHAmFQq6gi2JNHxdAnSwSMDcMAOXgdpU0/SP4EmRMsHbgCLCweh5cuMxyMjLWI u118sDwl+xFcCZQ5AC1FjX+kmUIvmHaTaBd0SWPVStqjUWFD/yWuu/AFy7nm+U3U 1qS9eUJklE58nsmgjWBmTTZNn2voHd4mUucq8h9fxkGs/c6JliaMgIPNduicZ2LH xEnhzolwuSrw5RNREEWDazKD6N3WEZQJaQsjdZaxQpwZW/vJ6Rc= =qMIt -----END PGP SIGNATURE-----
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org