Jump to content


This topic is now archived and is closed to further replies.


Where did my templates go?

Recommended Posts


I've got 3 sites on the same dedicated server running basically the same plugin setup with Danny's Advanced Skeleton child theme... All plugins DMS etc are up to date... Here's the odd thing.


On one site all the templates are missing?





Page Setup | Templates comes up correctly but no templates are available from the DMS editor or the Page/Post editor.  The two other sites are OK...


Flushed Caches, tried using the DMS main theme, turned of all plugins etc.   No joy.  


the DMS error log has a single error..


[30-Dec-2014 09:38:39 America/New_York] PHP Fatal error:  Call to undefined function setup_pagelines_template() in /home/fullsupp/public_html/wp-content/themes/dms/dms/index.php on line 50




DMS Debug Info

WordPress Version

WordPress Debug

Multisite Enabled

Current Role

Framework Path

Framework URI

Framework Version

PHP Version

Child theme


WP memory limit
128 MB

WP MAX memory limit
256 MB

PHP memory limit
256 MB

Mysql version

WP Max Upload Size
8 MB

8 MB

PHP Max Execution Time

PHP type

WebServer software

PHP User


« Back

Start-Build-Grow Your WordPress Powered Business

James Maduk - http://www.wpgrow.com

Share this post

Link to post
Share on other sites



Have you made any changes to the core files ?

When you say basically, the same plugins are they exactly the same or are there some installed that are different ?


Also, may sound like a stupid question, but are you sure you have deleted all the templates or does anyone else have admin access, who could have removed them ?


Can you provide a link to the other sites and make sure DMS debug mode is active on both please.

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

No changes to core files and no one else has access to the site. 


Instead of further debugging, what I did is export the templates from one of the good installs and import them back into the install that had the missing themes. I've reassigned the appropriate template types to the appropriate pages and things are OK for now. 

Start-Build-Grow Your WordPress Powered Business

James Maduk - http://www.wpgrow.com

Share this post

Link to post
Share on other sites

Thats great to hear, but that has resolved the issue, but we still need to know how your templates were removed. If this happens again, can you try and provide the exact steps you took before they removed. As templates can not remove or delete themselves, so the issue is likely related to either a plugin or your servers configuration.

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

  • Similar Content

    • DonRicardoRVM
      By DonRicardoRVM+
        First of all, sorry for my bad English.  I am developing an ecommeece with wp, woocommerce, PL5 and quickshop, and I need to do some changes in the simple product grid. I want to change the classes of some divs, but I can't find the templates. 
      Also, I change the grid of the category products pages, but I didn't make it correctly.
      This is the cat archive's: http://globosdemar.com/wp/categoria-producto/camisetas-para-ninos-y-ninas/
      Can you help me?
    • poseyg
      By poseyg+
      Could someone explain exactly how the new template sync works or what it is suppose to do?
    • Anthony King
      By Anthony King+
      I have to say that I like the Layout and the Template based sections. Some of them are really impressive.
      One of the things that I would like to request though is the possibility of being able to dynamically rearrange the layout.
      An example of what I am talking about is take the Agency Section. It's current layout starts with the
      Splash Module then the Portfolio Module then the Service Module and so on and so forth.
      What would be great is if we were able to move these modules around. I.e have the Service Module first
      then maybe the Splash, and then the portfolio.
    • flourishdesignstudio
      By flourishdesignstudio+
      I am using Jigoshop on a website that also uses PL5 and am running into an issue where the store pages do not allow me to use the PL5 editor. Is anyone else having this problem or know if a solution? 
      When I open the Chrome console I see the following error:
      site.js?ver=b199df:5 Uncaught ReferenceError: PLData is not defined
          at Object.setMasterModel (site.js?ver=b199df:5)
          at Object.init (site.js?ver=b199df:5)
          at HTMLDocument.<anonymous> (site.js?ver=b199df:5)
          at i (jquery.js?ver=1.12.4:2)
          at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
          at Function.ready (jquery.js?ver=1.12.4:2)
          at HTMLDocument.K (jquery.js?ver=1.12.4:2)
      The problem can be seen here: http://fingerlakesdistilling.com/shop/ where the sidebar, footer, and header do not show up. Any thoughts?
      Thanks so much!
    • Queue-it
      By Queue-it+
      I've created a new post category "Success stories" with Custom Post type UI. (in order to have a different layout for a different post category - blog post one layout, success stories another layout).
      New category "success stories" are "detached" from all the other posts, so they have a different layout, but the problem is that all of the success stories are also having the same exact content.
      So whenever I edit content (e.g. change body text) on one of success story posts, it also changes the content (body text) for all other Success story category posts. 
      Question: Is there a way to retain this separate category with it's own layout, and have a different content for each individual post? I'm using Pagelins templates. 
       Thanks in advance.