Title: Error after save/update page
Last modified: November 12, 2019

---

# Error after save/update page

 *  Resolved [Maksims](https://wordpress.org/support/users/diasaid/)
 * (@diasaid)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-after-save-update-page/)
 * Hello,
 * thank you for the plugin. At first I love it. It gives what I need. But now I
   have some issue using it. Following line is error WP sends me after updating 
   mobile page:
 * > Error Details
   >  ============= An error of type E_ERROR was caused in line 401
   > of the file /public_html/wp-content/plugins/specific-content-for-mobile/admin/
   > scfm-admin.php. Error message: Allowed memory size of 268435456 bytes exhausted(
   > tried to allocate 87490719 bytes)
 * As I result after page update – I have following error page at a frontend:
 * > The site is experiencing technical difficulties. Please check your site admin
   > email inbox for instructions.
 * My tech. characteristics:
 * WP version: 5.2.4
    PHP version: 5.6.40 Theme: Enfold 4.5.5
    -  This topic was modified 6 years, 7 months ago by [Maksims](https://wordpress.org/support/users/diasaid/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-after-save-update-page%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12122662)
 * Hi [@diasaid](https://wordpress.org/support/users/diasaid/)
 * thank you for your words, I’m happy you like it.
 * The error you have written is triggered during the page saving process. On the
   front-end, you see the message “The site is experiencing technical difficulties.
   Please check your site admin email inbox for instructions.” because maybe you
   were trying to visit the front-end builder. I’ve never tested this plugin with
   Enfold and due to the low number of active installations, I have not enough tests
   on the field. So I don’t exclude unexpected issues are occurring with Enfold.
 * But first I would like to exclude other causes.
 * The error you see is probably due to a PHP memory leak. Your maximum PHP memory
   limit is ok, but the same the memory is not enough for the saving process. This
   happens when the required memory goes to “infinite”. On my installations, I’m
   not able to reproduce the issue.
 * I don’t know if you have a staging environment and you can do the following tests:
 * – upgrade PHP to the last stable version available on your server (PHP 5.6.40
   is a little old)
    – disable all other plugins and try to save again the page –
   if you still have the problem, switch to the default WordPress theme and try 
   to save again the page.
 * Then we will know if one of the plugins gives conflicts or the theme and we can
   focus on the root cause.
 * Let me know if you have a live site and you can’t perform the tests above. In
   that case, we will find other ways for the investigation.
 *  Thread Starter [Maksims](https://wordpress.org/support/users/diasaid/)
 * (@diasaid)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12122814)
 * Hello Jose,
 * thank you a lot for such a quick and informative answer. Yes, unfortunitally 
   I have no staging version of the site. It is live site and for a couple days 
   all worked fine with you plugin. I created several backups of the site database,
   but yes my customer is very sensitive and I would not like to testing smth on
   live site. If there are no other ways, I will create a copy of the site and install
   it on other hosting for tests. But important notice – problem appears – site 
   crashes only on on mobile version of on page. Mobile page of other page – works
   fine, and Enfold builder loads just fine.
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12122946)
 * the error is triggered inside a function that synchronizes desktop and mobile
   for the text changes you may make on the desktop version.
    When you replace some
   text on desktop, the plugin tries to detect the change and wants to change also
   the same text on mobile. This synchronization is one direction, from desktop 
   to mobile, but not from mobile to desktop. It works only if on mobile you have
   exactly the same text. Theoretically, the parser should not arrive at line 401,
   because you are saving a mobile page. This is already strange.
 * You have it only on one page because probably you have changed something on that
   page and the synchronization function is called during the saving process.
 * Then inside the function, it looks the issue occurs due to an “infinite” number
   of differences between desktop and mobile.
 * I have an old version of Enfold. First I will test that version on my development
   installation. I will try all kinds of savings and replacements. If I have no 
   errors I will ask you to prepare a copy and installing on other hostings.
 * Until then if you need a quick and dirty solution, open the file specific-content-
   for-mobile/admin/scfm-admin.php and comment the line 324
 * add_action( ‘post_updated’,’eos_scfm_check_diffs_on_save’,10,3 );
 * has to become
 * //add_action( ‘post_updated’,’eos_scfm_check_diffs_on_save’,10,3 );
 * This will prevent synchronization during the saving process. The function giving
   errors will not be called and you should not have issues anymore.
 * Soon I hope you should have a clean solution.
 *  Thread Starter [Maksims](https://wordpress.org/support/users/diasaid/)
 * (@diasaid)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12123019)
 * Actually, I think it is not just about this specific plugin. And I believe that
   you are right about php memory limits and so on. I tried to create duplicate 
   this “heave” mobile page. So now I even unable to sent it to the trash, wp returns
   me: Fatal error: Maximum execution time of 30 seconds exceeded in /home/spukelv/
   public_html/wp-includes/plugin.php on line 369
 * Will try to create copy tomorrow and upgrade php and see what happens.
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12131737)
 * Hi [@diasaid](https://wordpress.org/support/users/diasaid/)
 * thank you for the information. Try also the new version 0.0.9. I’ve fixed a bug
   that was triggered in some cases trashing the mobile pages. The trashing issue
   should be solved.
    Let me know.
 *  Thread Starter [Maksims](https://wordpress.org/support/users/diasaid/)
 * (@diasaid)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12158985)
 * Hello Jose,
 * thank you for all your focus. Here what I’ve done:
 * 1. Updated the plugin;
    2. Updated php from 5 to 7.3. 3. Updated wordpress
 * here what I have at the moment:
 * 1. I was able to delete the copy of the page (problem I mentioned above)
    2. 
   I am able to open Editor of the mobile of the Latvian Page (have two languages)
   3. I am able to open Editor of the mobile page of the English Page, but Enfold
   built-in editor not opening (showing preloader and no reaction)
 * Can I disable your plugin to test is it plugin problem or not? I will not loose
   some sort of data/functionality after activate it again?
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12159612)
 * Hi [@diasaid](https://wordpress.org/support/users/diasaid/)
    thank you for the
   information. We are nearer the solution.
 * So the last problem is related to the inbuilt Enfold editor.
 * If you disable Specific Content For Mobile but you don’t delete it, you don’t
   lose anything. If after disabling it you also delete it, you will lose the connection
   between desktop and mobile versions. In any case, you don’t need to delete it,
   just disable it.
 * Before to disable it, have a look at your JavaScript console. Usually to see 
   your JavaScript console: right-click => Inspect Elements => Console
 * If you see errors you can share a screenshot, it may be helpful to understand
   what is the problem.
 * Then you can disable Specific Content For Mobile and see if the editor loads 
   without problems.
 *  Thread Starter [Maksims](https://wordpress.org/support/users/diasaid/)
 * (@diasaid)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12161207)
 * Ok, here what I got:
 * 1. After disabling/enabling all plugins I investigating that Yoast SEO plugin
   is the one which gives such reaction
    2. Still have strange behaviour trying 
   to delete those duplicates. I need restore both to work. It is smth with database
   I guess.
 * May be this give smth to you. I need clean list of pages, because I will give
   the site to the customer and I don’t want there are list of pages like:
 * Desktop Page
    Mobile page Mobile page draft Mobile page draft …. 😀
 * May be this feedback clears smth for you?
 * But important thing is that at last I can get enfold editor/customizer, so I 
   can go further with this site! But if we could solve this ‘drafts in the trash’
   situation I would be happy!
    -  This reply was modified 6 years, 6 months ago by [Maksims](https://wordpress.org/support/users/diasaid/).
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12165990)
 * Hi [@diasaid](https://wordpress.org/support/users/diasaid/)
 * thank you for the update.
 * Are you sure it’s SCFM that is preventing those pages from deletion?
 * I suggest to:
    – enable the debug logging with the following lines of code in
   wp-config.php:
 *  define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’,
   false );
 * – with SCFM active, try to delete one of the pages that give you problems during
   the deletion
    – check the errors and warning that you find into the file wp-content/
   debug.log – disable SCFM and then delete one of the pages you want to delete.
 * If you are able to delete one of those pages after disabling SCFM, you will confirm
   the problem is caused by SCFM. If so, I kindly ask you to let me know the errors
   and warnings that you find in the file debug.log before to delete all the pages
   you want to delete. This will help to understand what’s the problem.
 * If not so, it means the problem is caused by something else. In any case, the
   debug.log file can help to understand.
 *  Thread Starter [Maksims](https://wordpress.org/support/users/diasaid/)
 * (@diasaid)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12190993)
 * Hello Hose!
 * Sorry, was busy to answer you properly also do what you suggest. But I will, 
   and will try to answer you about results. In couple days.
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12199878)
 * hello [@diasaid](https://wordpress.org/support/users/diasaid/)
 * no problem, when you have news let me know.
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12233106)
 * Hi [@diasaid](https://wordpress.org/support/users/diasaid/)
 * I’m going to close this thread for inactivity. If you have news don’t hesitate
   to open a new one.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Error after save/update page’ is closed to new replies.

 * ![](https://ps.w.org/specific-content-for-mobile/assets/icon-256x256.png?rev=
   2447531)
 * [Specific Content For Mobile - Customize the mobile version without redirections](https://wordpress.org/plugins/specific-content-for-mobile/)
 * [Support Threads](https://wordpress.org/support/plugin/specific-content-for-mobile/)
 * [Active Topics](https://wordpress.org/support/plugin/specific-content-for-mobile/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/specific-content-for-mobile/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/specific-content-for-mobile/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 12 replies
 * 2 participants
 * Last reply from: [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/error-after-save-update-page/#post-12233106)
 * Status: resolved