Results 1 to 2 of 2

Thread: Fatal error: Out of memory functions.php on line 380 in Dashboard Marketplace Widget

  1. #1
    Thread Starter
    Expired Customer maintenanceguy's Avatar
    Join Date
    Apr 2015
    Posts
    24
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Fatal error: Out of memory functions.php on line 380 in Dashboard Marketplace Widget

    On the Classipress Dashboard, in the "marketplace" widget, I'm seeing the following error:

    Fatal error: Out of memory (allocated 30408704) (tried to allocate 786521 bytes) in /xxxx/x/xxxxxx/xxxxx/website-root-folder/wp-includes/functions.php on line 380


    I can not increase memory allocation because I'm on a shared hosting account. I'm not sure what the marketplace widget does and I can live without it. My only concern is that there may be other functions that will fail due to insufficient memory. I'm hoping somenone has a solution that I've overlooked.

    For reference, line 380 is the " return serialize( $data );" below.

    /**
    * Serialize data, if needed.
    *
    * @since 2.0.5
    *
    * @param string|array|object $data Data that might be serialized.
    * @return mixed A scalar data
    */
    function maybe_serialize( $data ) {
    if ( is_array( $data ) || is_object( $data ) )
    return serialize( $data );

    // Double serialization is required for backward compatibility.
    // See https://core.trac.wordpress.org/ticket/12930
    if ( is_serialized( $data, false ) )
    return serialize( $data );

    return $data;
    }

  2. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: May 11th, 2014, 05:14 AM
  2. Memory Fatal Error
    By noinkmarketing in forum Report Vantage Bugs (Legacy)
    Replies: 7
    Last Post: April 15th, 2013, 12:19 AM
  3. Catchable fatal error - theme-functions.php on line 1432
    By rmoll in forum Report ClassiPress Bugs
    Replies: 21
    Last Post: September 12th, 2012, 06:04 AM
  4. Catchable Fatal Error: theme-functions line 1517
    By alfozaie in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: September 12th, 2012, 05:58 AM
  5. [SOLVED] Catchable fatal error - theme-functions.php on line 1383 - Problem identified
    By andreuerj in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: January 18th, 2012, 10:34 AM