Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi-post-thumbnails plugin makes WP run very, very slowely #145

Open
SG-2012 opened this issue Jun 13, 2020 · 3 comments
Open

multi-post-thumbnails plugin makes WP run very, very slowely #145

SG-2012 opened this issue Jun 13, 2020 · 3 comments

Comments

@SG-2012
Copy link

SG-2012 commented Jun 13, 2020

Hello voceconnect / Chris Scott,

Back in 2013 we used your plugin to successfully power parts of the following live website:
https://www.m2recruitment.co.uk/
In the past week, the website has almost ground to a halt and our clients are wanting us to resolve the issue. First step was to ask our host to help; they came back having identified this plugin as causing the issue. On disabling the plugin, the site throws an error, so can't simply be disabled.

Fatal error: Uncaught Error: Class 'MultiPostThumbnails' not found in /home/mtwortr/public_html/wp-content/themes/m2/index.php:28 Stack trace: #0 /home/mtwortr/public_html/wp-includes/template-loader.php(106): include() #1 /home/mtwortr/public_html/wp-blog-header.php(19): require_once('/home/mtwortr/p...') #2 /home/mtwortr/public_html/index.php(17): require('/home/mtwortr/p...') #3 {main} thrown in /home/mtwortr/public_html/wp-content/themes/m2/index.php on line 28

Could you offer a fix, as I'm guessing we're not the first to report issues (probably in connection with latest updates to WP)?

Many thanks in advance,
SG.

@rickcurran
Copy link

Hi, I'm not the developer but just thought I'd jump in with a wee bit of help. That error you're seeing is because you've disabled the plugin so now where your theme is trying to make use of the additional thumbnails it is causing an error.

You'd need to either re-enable the plugin to get rid of that error or remove the code in your theme that is trying to use the plugin's functionality.

@chrisscott
Copy link
Contributor

@rickcurran is correct. Search your theme files for MultiPostThumbnails to see where it is used. It should have a class_exists() check which seems to be missing. See the docs for details on how it should be coded.

@SG-2012
Copy link
Author

SG-2012 commented Jun 14, 2020

@rickcurran , @chrisscott thank you gents, will digest and revert if we get stuck. Best, SG ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants