Jump to content

Archived

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

DonRicardoRVM

I have a big problem

Recommended Posts

DonRicardoRVM+    5
DonRicardoRVM

Hi:

 

I have changed the domain of mi page, and I replaced the mentions of old domain in the database with the nett sql consult:

UPDATE wpfec_postmeta SET meta_value = REPLACE('meta_value', 'fundacioneuropadelosciudadanos.eu', 'europadelosciudadanos.net')
UPDATE wpfec_posts SET post_content = REPLACE('post_content', 'fundacioneuropadelosciudadanos.eu', 'europadelosciudadanos.net')
UPDATE wpfec_posts SET guid = REPLACE('guid', 'fundacioneuropadelosciudadanos.eu', 'europadelosciudadanos.net')

Now, when I enter to the page, (http://europadelosciudadanos.net) I meet the next message: 

 

Fatal error: Cannot use string offset as an array in /usr/home/europadelosciudadanos.net/web/wp-content/themes/dms/editor/editor.templates.php on line 141.

 

Can somebody help me?

 

Thanks

 

 


Ricardo Royo-Villanova

Agítalo 3.0

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

HI,

 

Are you using Wordpress single or Multisite ?

What version of DMS and Wordpress are you using?

Also, this is likely an issue with your Wordpress setup now that you have changed domain, you will probably want to manually search your database to for any other existing values pointing to the old domain.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
DonRicardoRVM+    5
DonRicardoRVM

I am using wp 3.8.1 and DMS 1.1.6, and all worked fine until I made the change in the database.

 

I´ve downloaded the database, an there is not reference to the old domain.


Ricardo Royo-Villanova

Agítalo 3.0

Share this post


Link to post
Share on other sites
Simon    247
Simon

I hope you have a copy of your database before you nuked it.

 

The options under wpfec_postmeta would have been serialized data, by doing a blind replace like that you broke every settings array for every post/page.

 

You should have used a search/replace plugin that finds the options the deserializes then replaces then resaves them serialized again.

Share this post


Link to post
Share on other sites
DonRicardoRVM+    5
DonRicardoRVM

Yes, I had a copy of databaes, and  I´ve restored. Thanks.


Ricardo Royo-Villanova

Agítalo 3.0

Share this post


Link to post
Share on other sites
Simon    247
Simon

Yes, I had a copy of databaes, and  I´ve restored. Thanks.

Thats a relief! ;)

Share this post


Link to post
Share on other sites

  • Similar Content

    • dbrowne02
      By dbrowne02+
      Hey, this looks like a great product. Thank you for making it!
      Unfortunately, when I activated plugin, I got this error. Thanks in advance for helping with this. 

      Fatal error: Cannot redeclare wmHtmlEditorEnable() (previously declared in /home/dbrowne02/brownelaborlaw.com/wp-content/plugins/enhanced-options-editor/enhanced-options-editor.php:14) in /home/dbrowne02/brownelaborlaw.com/wp-content/plugins/enhanced-options-editor/enhanced-options-editor.php on line 15
    • pillar
      By pillar
      After preview OR activation of the Bespoke Theme 1.0.1 an internal error 500 occurs. Wp debug states: Fatal error: Cannot redeclare class EditorStoreFront in /var/www/[...]/wp-content/themes/jg-bespoke/dms/editor/editor.api.php on line 7.
       
      This happen on a clean webserver (Ubuntu 14.04 LTS server 64bit, Apache/2.4.7 (Ubuntu), MySQL5.5.40-0ubuntu0.14.04.1, PHP 5.5.9-1ubuntu4.5, Wordpress 4.0) and neither
      Wordpress plugins are installed nor .htaccess files are placed.
       
      Can anybody help me?
       
    • gsquared
      By gsquared
      For some reason, when I go to the home page of my client's site, it's showing the following error:
       
      Fatal error: Call to undefined function setup_pagelines_template() in /home/p1sivng/public_html/wp-content/themes/pagelines/page.alpha.php on line 24
       
      I tried disabling other plugins, but that didn't help. I changed enabled debug mode, but it didn't display any additional information.
       
      In the error log, it's showing the following line:
       
      PHP Fatal error:  Call to undefined function setup_pagelines_template() in /home/p1sivng/public_html/wp-content/themes/pagelines/index.php on line 50
       
      I am using PageLines Framework version 2.4.5
      Wordpress version 4.0
       
      The URL is: http://www.printadvertisingusa.com
       
      Any ideas what this could be?
       
      Gary
    • nfp1900
      By nfp1900
      Hi
       
      I'm really looking for some help from all those WP users out there as I've hit a bit of brick wall elsewhere. I built this site www.delada.net with no issues but a couple of days ago I started getting "Plugin could not be activated because it triggered a fatal error"  but no other error messages. If I update an active plugin it updates then fails to reactivate. There are a bunch of inactive plugins (from the previous developer - around 25) but only 6 are active on this site and it's nothing I haven't got on other installations. 
       
      I've built and updated  30+ wordpress sites with every version of pagelines right up to this DMS 2.0.4 version and I've never seen this before. I called the host Godaddy which the client already had in place (it wasn't my choice) and they simply said they don't support Wordpress so that wasn't such a good start. 
       
      Anyone got any bright ideas about what to do? The WP forums haven't turned up anything or a reply. Only thing I see is that there is a plugin nonce error on activation which points to an incorrect authentication key (maybe?).
       
       
       
       
×