Jump to content

Archived

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

massmosaic

DMS 2 - Error updating with Child Theme

Recommended Posts

massmosaic

Hi Pagelines,

 

I have been using a child theme w/ DMS 1.xx and just updated to DMS 2.03. I'm getting the following error: http://massmosaic.com/wp-content/uploads/2014/04/Screen-Shot-2014-04-08-at-11.20.34-PM.png

 

Can you make a recommendation for how to fix or if there's a way to make DMS 2 work with our existing codebase?

 

I'm excited to explore DMS 2 once we get past this.

 

 

 

Share this post


Link to post
Share on other sites
massmosaic

I spoke to a developer friend who advised me to remove a line of code from the functions.php in the child theme:

 

require_once( get_template_directory() . '/includes/init.php' );
 
This is something that had been in the DMS 1.xx child theme, whose code I got from this site. Removing it fixed the issue.
 
Is this function something that is needed, or obsolete in DMS 2+??

Share this post


Link to post
Share on other sites
massmosaic

Spoke too soon. The error is still happening. 

Share this post


Link to post
Share on other sites
Simon

looks like your childtheme cant find the dms files. Did you install it correctly?

Share this post


Link to post
Share on other sites
massmosaic

Hmm, I had tried to upload DMS 2 via the WP backend and got an error saying directory already exists.

 

So then I used FTP and overwrote the DMS 1 folder in WP Content -> Themes with the new one.

 

Perhaps that's it? It's my understanding that this way works, but then again I usually add themes via the backend.

Share this post


Link to post
Share on other sites
Simon

you cnt update a theme by uploading it, you get the folder already exists error, thats always been the case with wordpress. Yea you can update the files via FTP, but it looks like you either uploaded them to the wrong folder, or you didnt upload all of them

Share this post


Link to post
Share on other sites
massmosaic

I've deleted the theme and re-uploaded via the WP backend. It installs correct. Then I go to activate the child theme and still get the error.

Share this post


Link to post
Share on other sites
Simon

Might help if i could see the site

Share this post


Link to post
Share on other sites
massmosaic

Cheers.. yes

 

The site is test.massmosaic.com

 

I'll pm you the password info...

Share this post


Link to post
Share on other sites
Simon

im guessing its an old child theme is it?

Share this post


Link to post
Share on other sites
massmosaic

Yes, exactly. Was using it w/ DMS 1.xx

Share this post


Link to post
Share on other sites
massmosaic

I've downloaded Skeleton and then just moved the edits I've done over to this folder. Uploaded the zip and everything works!

 

Thank you Danny.... appreciate it. Problem solved :)

Share this post


Link to post
Share on other sites
Danny

Awesome and no problem!


Please search our forums, before posting!

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?  
      https://staging2.imetropol.com/
    • 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.
      Thanks,
      James Wilson
×