I'm having some issues with setting up a cronjob for Smart Search indexing. I'm getting an error in my cronjob saying: 0 - Call to a member function getTag() on null
I did some tests and it looks like this is caused by the system plugin Smart search - content. If I disable this plugin, the error disappears. There are no other plugins active:
This is the full error I get in my cron notification:
Code: Select all
Smart Search INDEXER ============================ Starting Indexer Setting up Smart Search plugins Setup 1285 items in 0.265 seconds. <!DOCTYPE html> <html lang="en-gb" dir="ltr"> <head> <meta charset="utf-8" /> <title>0 - Call to a member function getTag() on null</title> <link href="/home/mysite/public_html/cli/templates/system/css/error.css" rel="stylesheet" /> <!--[if lt IE 9]><script src="/home/mysite/public_html/cli/media/jui/js/html5.js"></script><![endif]--> </head> <body> <div class="error"> <div id="outline"> <div id="errorboxoutline"> <div id="errorboxheader">0 - Call to a member function getTag() on null</div> <div id="errorboxbody"> <p><strong>You may not be able to visit this page because of:</strong></p> <ol> <li>an <strong>out-of-date bookmark/favourite</strong></li> <li>a search engine that has an <strong>out-of-date listing for this site</strong></li> <li>a <strong>mistyped address</strong></li> <li>you have <strong>no access</strong> to this page</li> <li>The requested resource was not found.</li> <li>An error has occurred while processing your request.</li> </ol> <p><strong>Please try one of the following pages:</strong></p> <ul> <li><a href="/home/mysite/public_html/cli/index.php" title="Go to the Home Page">Home Page</a></li> </ul> <p>If difficulties persist, please contact the System Administrator of this site and report the error below.</p> <div id="techinfo"> <p> Call to a member function getTag() on null </p> </div> </div> </div> </div> </div> </body> </html>
Any ideas how to solve this?