no2nsa
Member
- Messages
- 39
- Reaction score
- 4
- Points
- 8
Anyone who knows about Wordpress please could you help me out here. I've installed a new theme and when I view the homepage I'm getting this error code.
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in/home/no2nsax3/public_html/blog/wp-includes/cache.phpon line569
I've checked inside the cache.phpon file and located line 569 and found this code here.
$data = clone $data;
The other code content around it is this look.
This error is only appearing on the Homepage of my website please could someone help ![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
The theme I'm trying to use is this one >http://athemes.com/theme/wp-metro/
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in/home/no2nsax3/public_html/blog/wp-includes/cache.phpon line569
I've checked inside the cache.phpon file and located line 569 and found this code here.
$data = clone $data;
The other code content around it is this look.
Code:
/**
* Sets the data contents into the cache
*
* The cache contents is grouped by the $group parameter followed by the
* $key. This allows for duplicate ids in unique groups. Therefore, naming of
* the group should be used with care and should follow normal function
* naming guidelines outside of core WordPress usage.
*
* The $expire parameter is not used, because the cache will automatically
* expire for each time a page is accessed and PHP finishes. The method is
* more for cache plugins which use files.
*
* @since 2.0.0
*
* @param int|string $key What to call the contents in the cache
* @param mixed $data The contents to store in the cache
* @param string $group Where to group the cache contents
* @param int $expire Not Used
* @return bool Always returns true
*/
function set( $key, $data, $group = 'default', $expire = 0 ) {
if ( empty( $group ) )
$group = 'default';
if ( $this->multisite && ! isset( $this->global_groups[ $group ] ) )
$key = $this->blog_prefix . $key;
if ( is_object( $data ) )
$data = clone $data;
$this->cache[$group][$key] = $data;
return true;
}
The theme I'm trying to use is this one >http://athemes.com/theme/wp-metro/