Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] Fatal error with pages (http://forum.bytesforall.com/showthread.php?t=19669)

rickagain Feb 19, 2013 04:16 PM

[SOLVED] Fatal error with pages
 
I deleted the sample page (it worked) and have tried publishing new pages - they apear in the top menu - but give the following error when clicked;

Fatal error: Call to undefined function get_page_template_slug() in /home/xxxxx/public_html/wp-content/themes/montezuma/includes/get_virtual_template.php on line 95

jerryc Feb 19, 2013 04:46 PM

Quote:

Originally Posted by rickagain (Post 96775)
I deleted the sample page (it worked) and have tried publishing new pages - they apear in the top menu - but give the following error when clicked;

Fatal error: Call to undefined function get_page_template_slug() in /home/xxxxx/public_html/wp-content/themes/montezuma/includes/get_virtual_template.php on line 95

Which template are you using? Have you tried changing templates for the page?

juggledad Feb 19, 2013 05:39 PM

What is your URL?

rickagain Feb 19, 2013 09:15 PM

Jerryc - yes, I've tried all virtual templates, including the 'best match'...

juggledad - rickslater dot com

Thanks

juggledad Feb 20, 2013 04:03 AM

(Jerry: read the error message and you might give better suggestions)

Rick
As the error message says 'Call to undefined function get_page_template_slug()' the function - 'get_page_template_slug' - is not available. A quick google search shows that 'get_page_template_slug()' is actually WP code and some people have had issues with WP upgrades.

What version of WP are you on?
When did you do your last upgrade?
Do you know it it was successful?

FIRST do a backup of your database and then try upgrading WP again.

rickagain Feb 20, 2013 04:06 AM

Thanks juggledad - fresh eyes...

It was a new install via fantastico... however, NOT the latest version.

Did the update - bingo, the 'page' works.


All times are GMT -6. The time now is 10:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.