Thread:Project:Support desk/Cite/Scribunto Error

When using Cite web/book/journal I get the following error:

"Fatal error: Call to undefined method OutputPage::getTarget in /home4/cms/public_html/bereawiki.com/extensions/Scribunto/common/Hooks.php on line 379"

I am currently using Mediawiki 1.24.1 and have the latest installation of both Cite and Scribunto, so I'm not sure why there is a problem using citations. The line in the Scribunto file referenced says the following:

"if ( $outputPage->getTarget === 'mobile' ) {"

Also, when editing the page before the error starts, I notice a template is missing, Quoted text. I tried finding the Quoted_text template but Wikipedia does not appear to have it. I suspect that is a separate error though as removing all citations results in the page working even though it still says that template is missing.

Perhaps there is an issue with mobile compatibility somehow?