Fatal error: Call to a member function getKeywordReplacement()

I'm getting the following error -


Fatal error: Call to a member function getKeywordReplacement() on a non-object in /home/websites/mysource_matrix/core/include/mysource.inc on line 712



This is on a Matrix 3.20.1 install, running on Debian. We are redirecting our main domains to an offsite server during an outage. I've got a single page set up with a message explaining the outage - this is set as the site index, and the 'page not found' page.



When requesting a page using the basic domain name - it works fine, but when trying for something that would have been deeper in the site eg domain.com.au/pages/mypage I'm getting that error rather than seeing the page.



Any ideas?

[quote]I'm getting the following error -


Fatal error: Call to a member function getKeywordReplacement() on a non-object in /home/websites/mysource_matrix/core/include/mysource.inc on line 712



This is on a Matrix 3.20.1 install, running on Debian. We are redirecting our main domains to an offsite server during an outage. I've got a single page set up with a message explaining the outage - this is set as the site index, and the 'page not found' page.



When requesting a page using the basic domain name - it works fine, but when trying for something that would have been deeper in the site eg domain.com.au/pages/mypage I'm getting that error rather than seeing the page.[/quote]

The message described above corresponds to an inability to find the requested asset. Perhaps this is falling back to a "Not Found" page, which itself cannot be found.

Please verify that the expected Web Paths are applied to the requested pages.

[quote]The message described above corresponds to an inability to find the requested asset. Perhaps this is falling back to a "Not Found" page, which itself cannot be found.
Please verify that the expected Web Paths are applied to the requested pages.[/quote]



I'm not that made much sense to me … my site has 1 page which is both index and not found page. The web paths look ok to me. I can preview the page ok.



Why would this page not be found?

Reading over your post again, there is definitely only one page on this system. Sorry for the misunderstanding.


[quote]Why would this page not be found?[/quote]

It's difficult to determine with the detail provided. Perhaps attempt to create a page a few levels down on your site to verify that this isn't an Apache aliases issue. It might also be worth temporarily removing references to designs from your Site, to eliminate this as a possible contributing factor and to bring the system to a very simple state. The expected functionality is working on our local systems, so this would seem particular to your configuration.



If you are a Squiz Client I would recommend lodging a ticket with Support so this can be investigated on your system.