freaking1 / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
0 stars 0 forks source link

Pagination class triggers Allowed memory size error #539

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
*SYSTEM INFO* 
------------------------ 
Plugin Version: 0.9.7.11-pl
WordPress Version: 3.8
PHP Version: 5.3.27-pl0-gentoo
MySQL Version: 5.0.91
Server OS: Linux
Language: 
------------------------ 
ACTIVE PLUGINS: 
 * Contact Form 7 v.3.6 [http://contactform7.com/]
 * Debug Bar Console v.0.3 [http://wordpress.org/extend/plugins/debug-bar-console/]
 * Debug Bar Cron v.0.1.2 [http://github.com/tollmanz/]
 * Debug Bar v.0.8.1 [http://wordpress.org/extend/plugins/debug-bar/]
 * Developer v.1.2.5 [http://wordpress.org/extend/plugins/developer/]
 * Disable WPAUTOP v.1.0 [http://wordpress.org/extend/plugins/disable-wpautop/]
 * Google Analytics Dashboard for WP v.4.2.4 [http://deconf.com]
 * Jetpack by WordPress.com v.2.7 [http://wordpress.org/extend/plugins/jetpack/]
 * Log Deprecated Notices v.0.2 [http://wordpress.org/extend/plugins/log-deprecated-notices/]
 * Log Viewer v.13.12.22 [http://wordpress.org/extend/plugins/log-viewer/]
 * SEO Wordpress v.3.0.1 [http://mervin.info/seo-wordpress/]
 * Social Media Icons Widget v.1.2.7 [http://www.arstropica.com]
 * Widget for Contact Form 7 v.1.0 [http://wordpress.org/plugins/widget-contact-form-7]
 * WordPress Twitter Bootstrap CSS v.3.0.3-0 [http://www.icontrolwp.com/wordpress-twitter-bootstrap-css-plugin-home/]
 * Form Manager v.1.6.45 [http://www.campbellhoffman.com/form-manager/]
------------------------ 
CURRENT THEME: Opna Theme v.1.0 http://opnahealth.com/theme

Created a custom image field and linked it to a content type. On trying to 
upload image I get the following error message:

Fatal 
error/data/26/2/106/18/2432996/user/2666472/htdocs/wkdir/wp-content/plugins/cust
om-content-type-manager/includes/CCTM_Pagination.php85

and below the field the following text:

: Allowed memory size of 41943040 bytes exhausted (tried to allocate 7680 
bytes) in on line

Will be glad if this can be fixed. 

See attached screenshot.

Original issue reported on code.google.com by thereale...@gmail.com on 16 Jan 2014 at 11:57

Attachments:

GoogleCodeExporter commented 9 years ago
Sounds more like an environment error -- how much memory does your server have, 
and does this persist on more current versions of PHP?

Did you try disabling all other plugins to see if the problems persist?

Original comment by ever...@fireproofsocks.com on 1 Feb 2014 at 8:43

GoogleCodeExporter commented 9 years ago
I have enough memory as I can attach media files (images. files) to posts.
I am not sure whether this error is caused by the presence of one or more
plugins. But the only plugins I have are:

Twitter Bootstrap
Content Type Manager
Contact Form 7
Social Media Icons

I will try disabling them and see if that resolves the problem.

Thanks.

On Sat, Feb 1, 2014 at 3:43 PM, <
wordpress-custom-content-type-manager@googlecode.com> wrote:

Original comment by thereale...@gmail.com on 1 Feb 2014 at 8:52

GoogleCodeExporter commented 9 years ago
Put this in custom-content-type-manager/includes/CCTM_Pagination.php right 
above line 85:

error_log('name: '.$name);
error_log(print_r($this->properties, true));
return $this->properties[$name];

Then trigger the error and check your logs for info... curious to see what's 
being passed to that function that's so troublesome.

Original comment by ever...@fireproofsocks.com on 1 Feb 2014 at 9:33

GoogleCodeExporter commented 9 years ago
Gotta tie this into a packagist thing in the refactor.

Original comment by ever...@fireproofsocks.com on 11 May 2015 at 5:14