Archived

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

  • 0

Uncaught TypeError: Object [object Object] has no method 'sortable'

Question

Posted · Report post

In the admin, disabling ALL the plugin, i still have that error message on topic (see attachment).

Any suggestion?

 

Thanks

 

Website URL: http://sezioneaurea.com/
Framework Version: 2.4.1
WordPress Version: 3.5.1
Plugins in Use: none
Server/Host: Media Temple

 

 

 

post-34182-0-84856900-1363874886_thumb.p

Share this post


Link to post
Share on other sites

28 answers to this question

Posted · Report post

Ok, friends, would you like what the problem was? What sort of silly problem caused that error?

 

In wordpress/settings/reading the number of post to show was 999999: move down this number to 99 all it's fine...

If someone in the universe should have the same issue...

Share this post


Link to post
Share on other sites

Posted · Report post

Buongiorno!

 

It may be that your site, like millions of others, is under a DoS (Denial of Service) attack, which attempts to flood your site with commands to break it. Contact your hosting company and ask them to check to see if your site is being hit in bulk from a particular IP address or group of them.  Ask them how you can firewall these, and block them from attempted access to your server's control panel.

 

I believe what you're seeing is in fact, a symptom, not the actual problem. Liken it to having a cough when it's really the flu. I've had this same problem myself. If you are on a shared computer, try to upgrade to a VPS with cPanel. This will also reduce some of the server load.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Rob,

and sorry for my delay.

 

Done what you suggest and problem still there unfortunately...

Share this post


Link to post
Share on other sites

Posted · Report post

Buongiorno!

 

Checked with the Media Temple staff and no, we do not see any obvious signs of a DDoS in this website visitor statistics.

Must be something about PageLines framework: if we switch theme there are no problem at all...

 

It's getting a nightmare...

Share this post


Link to post
Share on other sites

Posted · Report post

I have read through your post and I am going to alert our developers on the issue you are encountering, however and I apologize if this was asked of you already, but can you confirm that if you enable the Wordpress default theme that the PHP errors go away?  Just trying to isolate this issue as much as possible before our developer is engaged.

Share this post


Link to post
Share on other sites

Posted · Report post

Enabling default wordpress theme the error goes away, disappear.

 

I think the last action i can try is what James B suggests, to install a brand new wordpress, with a brand new PL framework and see what's going on.

But i need to plan that because i have to populate entire website from scratch - not using my backup - and is not a short job...

 

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

You never enabled PageLines debug mode, see above for information on how to enable it.

Share this post


Link to post
Share on other sites

Posted · Report post

Server insists: they did not change anything at all.

So, Danny, I see you are a member staff: is there any support service to buy to help us resolve this issue?

Share this post


Link to post
Share on other sites

Posted · Report post

HI, I'll ask a developer to take a look and see what they advise, I know Danny has also logged this to be reviewed.

 

The only other thing I can think is to test on the new server setup, install a fresh version of Wordpress with a clean version of the Framework on it, no plugins and don't upload your backup yet. Does the problem occur then? I'm just wondering if its something backup buddy has set somewhere and then subsequently saved into the backup. Backup buddy seemed to be in a lot of the file paths in the image the host sent you.

 

I know /html/wp-includes/default-constants.php has info inside that defines the memory limits as well, if you look at the info in there do the memory limits seem reasonable figures.

 

I'm not a developer the above just me thinking of other possible tests/solutions that could help track something down for you etc.

Share this post


Link to post
Share on other sites

Posted · Report post

Well usually the site options all being in one long list, is like Simon suggested above caused by a badly written plugin. Now you say you have disabled all plugins, so that isn't the cause of the issue. Also, the error regarding memory, I have never heard of seen a Wordpress installation require 256mb of memory.

So the only cause of the issue, has to be your servers configuration, this isn't something we can provide support for. However, as you have provided your PHPinfo, I will show this to one of our developers and see if he is can seen anything that could be causing the issue.

 

I will reply here when I have more information.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks.

At the moment php.ini is exactly this:

 

 
; Rename this file to php.ini and uncomment or add directives.
; For a complete list of valid directives, visit:
; We highly recommend that you leave this options enabled
cgi.fix_pathinfo=1
memory_limit = 99M
; Increase execution time
max_execution_time = 120
; Increase maximum post size
upload_max_filesize = 20M
post_max_size = 512M
; pull in EGPCS [Environment, GET, POST, Cookie, Server] variables as globals
;register_globals = true
; For performance reasons, (mt) does not load all of the modules that are available
; into PHP. You may uncomment any one of the following "extension" lines to enable
; the desired module
; Salblotron XSLT
;extension=xslt.so
; save in local tmp
session.save_path=/home/124366/data/tmp
allow_url_fopen = On
 
I enable back plugin that their are not causing the error. But if you need to investigate i can disable all of them.

Share this post


Link to post
Share on other sites

Posted · Report post

Danny, i can not enable debug mode because i can not see the option checkbox. The page can not shown properly as can you see by the screen shot above. And not i never enabled it. I will. Now I am going to restore a previous whole backup with the previous PageLines version. Hope that works.

 

 

Downgraded PageLines to 2.4. ALL plugin disabled. Error still there (just below the "Blog and Posts" section):

PageLines > Site Options > "Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 215744452 bytes) in /nfs/c08/h04/mnt/124366/domains/sezioneaurea.com/html/wp-content/themes/pagelines/admin/class.options.engine.php on line 900"

 

...

Share this post


Link to post
Share on other sites

Posted · Report post

OK, I can guarantee, that PageLines Framework does not require more than 99MB of PHP memory, which according to your PHPinfo is what you have set. The PHP memory required for PageLines Framework is no more than 46MB. Therefore, if you have 99MB of memory allocated for PHP, then the most likely cause is a vast amount of plugins being installed.

 

If you have disabled all non-PageLines plugins and are still encountering this issue, then the issue is likely caused by your server configuration. If my memory serves me correctly, the Media Temple grid server, is basically another name for Share Hosting.

 

Shared hosting regardless of your host, is cheap hosting and I wouldn't recommend anyone to use Shared Hosting.

 

I am not an expert in terms of server configuration, so what I would recommend is contact Media Template, inform them of the situation that PageLines Framework will never use more than 46MB of memory allocated to PHP and ask them to investigate the issue.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Danny,

we already investigated that yesterday with Media Temple and their answer was:

"This particular error may be caused by PHP memory limits being reached. If you are trying to allow for more memory for PHP functions, you can edit your "php.ini" file on the (gs) Grid-Service quite easily. It is located at "~/etc/php.ini"

"Looking at the original error message, it appears that WordPress is trying to use over 256MB of PHP memory. Unfortunately, this limit can not be supported on the (gs) Grid-Service. You will need to find out what is trying to request so much memory, and then see if you can have it require less memory to run.

Please do keep in mind that we are happy to help you set up everything regarding our servers, and will often go the extra mile to help you set up third-party software to access our servers correctly; however, we are not responsible for the configuration or malfunctions of third-party software."
 

But the point is this error occured suddenly few days ago without we did nothing at all, no upgrade, no upload, etc.

So if you assure me PL is not getting more than 46mb i am going to back with media temple support.

Share this post


Link to post
Share on other sites

Posted · Report post

Server configuration is by no means my forte but as far as I am aware Wordpress shouldn't be using over 256mb of memory, unless you have a very number of plugins installed. However, if this error only occurred a few days ago, with no changes at all done by yourself. Then in my opinion this is more evidence that there is an issue with your server configuration or your host has made some changes.

Share this post


Link to post
Share on other sites

Posted · Report post

The screenshot was token before disabling all plugin.

By the way i did again and attach new screenshot of the whole page.

 

You can see what's going on and an error message as well:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 215744452 bytes) in/nfs/c08/h04/mnt/124366/domains/sezioneaurea.com/html/wp-content/themes/pagelines/admin/class.options.engine.php on line 900

 
 

 

PageLines-Admin_sezioneaureaWordPress.pn

Share this post


Link to post
Share on other sites

Posted · Report post

P.S. I reuploading the framework as well and still not working...

Share this post


Link to post
Share on other sites

Posted · Report post

Can you enable PageLines debug mode - PageLines > Site Options > Advanced. However, the way your settings are currently displayed, it will not far from the bottom.

 

Also, provide your PHPinfo, for information on how to do this, see this article - http://codex.wordpress.org/Finding_Server_Info

Share this post


Link to post
Share on other sites

Posted · Report post

I can not enable PL debug mode because i can not click PageLines > Site Options > Advanced (is exactly the page that does not work).

 

 
PHP Version 5.3.15

Share this post


Link to post
Share on other sites

Posted · Report post

Buongiorno Alessandro,

 

It is possible to overwrite or replace WP without having to reproduce the entire site.

 

Here's how to do it.  There are two critical things you must remember to keep:  wp-contents folder and wp-config.php file. 

 

Download the latest version of WP from www.wordpress.org/ and unzip the file to your computer's desktop. You will have a folder named 'wordpress'.

 

FTP to your site.  You'll find two folders:  wp-admin and wp-includes.  Delete them. 

 

Now, using the FTP client, open the wordpress folder on your desktop.  Upload the wp-admin folder from the desktop to the site.

Next, upload the wp-includes folder.

 

When this is completed (it takes a few minutes), upload all the individual files (not the folders) in the desktop wordpress folder to your site. It will ask if you want to overwrite them.  Say yes.

 

I've had considerable experience with this. 

 

After this is completed, check to see if the problem remains.  If it does, we may need to reinstall the Framework. Let us know.

 

I'll be here today and tomorrow to try and help.

 

Buona Pasqua.

Share this post


Link to post
Share on other sites

Posted · Report post

Are you on a multisite install?

Share this post


Link to post
Share on other sites

Posted · Report post

Really, it was set to 99999. Did you do that ?

 

Also, thanks for informing us.

Share this post


Link to post
Share on other sites

Posted · Report post

Yes i did to test something and forgot to reset it, sorry to ask support and the reason was so silly.

By the way...

Share this post


Link to post
Share on other sites

Posted · Report post

No need to apologise, we're just happy to hear your issue has been resolved and again, thanks for letting us know, we appreciate it!

Share this post


Link to post
Share on other sites

Posted · Report post

That kind of error is usually caused by a javascript conflict with a plugin.

 

You already said you have no plugins activated but in your screenshot you still have an SEO menu showing.

 

If you have tried with no plugins installed then try reuploading the framework, you can get the latest version from your members area.

Share this post


Link to post
Share on other sites