Thread:Extension talk:OpenGraphMeta/Incorrect Namespace

Installed the extension but when I tried it on a page I changed this code:



to this:



This throws an error:

RepoGroup::findFile recieved an Title object with incorrect namespace Backtrace:
 * 1) 0 /home/XXX/public_html/includes/GlobalFunctions.php(3235): RepoGroup->findFile(Object(Title), Array)
 * 2) 1 /home/XXX/public_html/extensions/OpenGraphMeta/OpenGraphMeta.php(58): wfFindFile(Object(Title))
 * 3) 2 [internal function]: efSetMainImagePH(Object(OutputPage), Object(ParserOutput), Array)
 * 4) 3 /home/XXX/public_html/includes/OutputPage.php(1190): call_user_func('efSetMainImageP...', Object(OutputPage), Object(ParserOutput), Array)
 * 5) 4 /home/XXX/public_html/includes/OutputPage.php(1203): OutputPage->addParserOutputNoText(Object(ParserOutput))
 * 6) 5 /home/XXX/public_html/includes/Article.php(4392): OutputPage->addParserOutput(Object(ParserOutput))
 * 7) 6 /home/XXX/public_html/includes/Article.php(1490): Article->outputWikiText('[[File:{{#setma...', true, Object(ParserOptions))
 * 8) 7 /home/XXX/public_html/includes/Article.php(4636): Article->doViewParse
 * 9) 8 /home/XXX/public_html/includes/PoolCounter.php(151): PoolWorkArticleView->doWork
 * 10) 9 /home/XXX/public_html/includes/Article.php(1011): PoolCounterWork->execute
 * 11) 10 /home/XXX/public_html/includes/Wiki.php(462): Article->view
 * 12) 11 /home/XXX/public_html/includes/Wiki.php(69): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 13) 12 /home/XXX/public_html/index.php(114): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
 * 14) 13 {main}

Can anyone help?