Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #764985
    scott l
    Participant

    Hi

    I seem to be having a problem with the new X theme and the All in One plugin. If I activate it I can not see the page I need to edit and I also get wp memory allocation error pop up on odd pages?

    Fatal error: Out of memory (allocated 34340864) (tried to allocate 343814 bytes) in /homepages/************** wordpress/wp-includes/class.wp-scripts.php on line 238

    I think Ive narrowed it down to a conflict with AIOSEO visual composer? also when I click on customiser screen hangs?

    Any help greatly appreciated

    #765284
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Your error message states that you’re running out of memory which has been allocated to your hosting account. Could you please try adding the following lines into your wp-config.php file in the root of your WordPress installation.

    define( 'WP_MEMORY_LIMIT', '256M' );
    define( 'WP_MAX_MEMORY_LIMIT', '512M' );

    You can add the above code, before the following lines:
    /* That's all, stop editing! Happy blogging. */

    Let us know how it goes.
    Thanks!

    #765311
    scott l
    Participant

    Hi Ive done that and still doesnt work

    Everything is fine when I deactivate VC but when I activate it the problems start.

    When I also look at the X Child theme this is displayed at the bottom of the screen, not sure if it is connected

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    vc_templates Stylesheet is missing. Delete
    woocommerce Stylesheet is missing. Delete

    Sometimes the customiser loads and sometimes it hangs, same with pages, I can open a page fine and edit then try and open it again and I just get the edit screen with the page title and then a blank screen.

    If I do get to open a page for editing and click “frontend” I will get the following error

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Regards

    #766084
    Lely
    Moderator

    Hello Scott,

    Please also contact your hosting provider and ask them to increase your hosting memory. We might increase it in wordpress settings but it might still be limited on your hosting..

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    There might be some files on wp-content/themes that is not supposed to be there or with missing files.

    Regarding the last error, please forward that concern to your hosting administrator.

    Always,
    X

    #766488
    scott l
    Participant
    This reply has been marked as private.
    #766749
    Paul R
    Moderator

    Hi,

    I check your memory limit and it is showing 120

    http://screencast.com/t/As08NqIvc

    As instructed above please contact your hosting provider and ask them to increase your memory limit.

    When you activate revslider or any plugin for that matter it will require more server resources like memory, so you need to increase memory limit.

    Thanks

    #767357
    scott l
    Participant

    Hi

    Thanks for that but this does not seem to be the problem here.

    I have downloaded a plugin that tells me im only using 20% of allocated php memory and I only have 6 or 7 plugins.

    The site worked and updated fine before the x upgrade with VC etc.

    I have spoken with 1and1, my hosting provider and they tell me I need a “dedicated server” just to run this very small site??

    Please let me know ?

    Br

    #767929
    Rue Nel
    Moderator

    Hello There,

    I am another staff checking on this issue. As I have check your site, it is no longer showing an out of memory error. Since the WordPress PHP memory limit has been increased to 256MB already I think the issue has been resolved. For now, you won’t be needing a dedicated server.

    The reason for the error is that by default, WordPress will attempt to increase memory allocated to PHP up to 40MB (code is at the beginning of /wp-includes/default-constants.php) for single site and 64MB for multisite. This would ensure that WordPress will only utilize up to its limit thus preventing server memory overload. As you install plugins, WordPress will be needing more PHP memory and as soon as it exceeds the default 40MB/64MB, it will throw an error which is what you have encountered. Now, that you have increased it to 512MB, this will be enough for your installation and will not suffer any out of memory error again.

    Hope this explains it.

  • <script> jQuery(function($){ $("#no-reply-764985 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>