Jump to content


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


Fatal error: Call to undefined function pl_has_editor()

Recommended Posts

--- Sorry for posting this again, however I could not find a way to change the topic line...
Fatal error: Call to undefined function pl_has_editor() in /public_html/wp-content/themes/dms/sections/navbar/section.php on line 222
I have uploaded the new DMS through FTP to the DMS directory already. That did not make any difference. Installed version on server is 1.0.4
I grabbed the function from the editor section and put it in section.php but then then there is another undefined function. Do I have my server configured wrongly, how do I solve this?

Share this post

Link to post
Share on other sites

Please provide a URL if were going to have a chance to help. The hidden admin only support url you added in your profile is not a PageLines site at all.

Share this post

Link to post
Share on other sites

Just private message me.

Share this post

Link to post
Share on other sites

Actually looks link you are using PageLines Framework 2.4.4 with some DMS files mixed in..



So first of all...decide which framework you are going to use, then delete all the files in its folder and re-upload fresh files.

Share this post

Link to post
Share on other sites

I was under the impression that the frameworks were like themes. You can switch from one to the other?

I had developed the site in Pagelines, then DMS came out and I wanted to see if I could move on to DMS. Before I throw something old out I want to know if the new works. That's why I have both installed. Can I not have both on one site and switch back and forth?


I have renamed the DMS directory and defaulted back to Pagelines framework. I found this solution online on another forum.



Share this post

Link to post
Share on other sites

You should not rename folders to convert between DMS and Framework. You should be doing as Simon clearly stated.  Remove the files and reinstall one or the other.  DMS goes into wp-content/themes/dms  and Framework goes into wp-content/themes/pagelines. The two are not interchangeable and Framework is not a child theme for DMS.  These are two distinctly different and separate products. 

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

  • Similar Content

    • rich_162534
      By rich_162534+
      I am building a site from scratch using PL5. I have many sites running this framework. When I add WooCommerce, it breaks the site causing the following error: PHP Warning:  Illegal string offset 'post_id' in /home/onlinema/public_html/commass/wp-content/plugins/pl-platform/lib/shortcodes.php on line 243.
      Same when I add lots of other plugins it seems including Justified Image Grid and Envira Gallery.
      Any idea what's happening here? 
    • MiraAdmin
      By MiraAdmin+
      Looking for some help on a recently developed issue. Editor will not load. 
      Theme:  DMS2
      Error from:  Chrome - Inspector - console view
      Error message: Refused to execute script from 'http://xxxx.xxx/wp-content/themes/dms/dms/editor/js/gettext.js/?ver=4.9.7' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      Occurs on all sites on same server. 
      WP versions to 4.9.5, 4.9.6, 4.9.7 = same behavior. Worked properly on these same versions until 07/04/2018.
      No new plugins. Isolating plugins offers same behavior. 
      Server vendor reports no changes, patches, etc. 
      Server re-starts no impact.  

      Thank you. 
    • romanondrasek
      By romanondrasek+
      Hi, I just found that my site is not working - nothing to see what I have activated PL5 tap late (just white screen :-() , I can open just admin site . I tried to activate different template (tventy seventeen) and was working , but not with PL5. 
      could you pls let me know what is the problem ASAP 
      the site is : www.myfit.cz
      than you so much
    • Steve Webb
      By Steve Webb+
      I have a staging site up that I have been working on, and tonight was having PL5 account connection issues:
      I refreshed, didn't work, so I followed instructions and disconnected and clicked connect to get a new token, and got white screen with the following php error:
      Can someone tell me what I'm doing wrong?  
    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      James Wilson