• Resolved tomqispi

    (@tomqispi)


    Hi,

    I just installed sitetree on 6.0.2
    first it was ok, but now I have a fatal error :

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 520093704 bytes) in [..]/wp-content/plugins/sitetree/data-model/dashboard-page-data.php on line 60

    I tried to change php memory limit until 2Go, but it’s not better. Just running longer before displaying the error. It’s seems like there is infinite loop!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tomqispi

    (@tomqispi)

    The fatal error is only when calling to the “Dashboard”. The sitemap is well displaying : https://www.guides-belleville.com/ete/sitemap/

    If I comment the below loop in /wp-content/plugins/sitetree/data-model/dashboard-page-data.php , I can access to the Dashboard. And I don’t see what is missing in!

    while( $pages_by_parent ) {
        $array   = array();
        $indent .= $indent_step;
    
        foreach( $options as $_page_id => $title ) {
            $array[$_page_id] = $title;
            
            if ( isset( $pages_by_parent[$_page_id] ) ) {
                foreach ( $pages_by_parent[$_page_id] as $page ) {
                    $array[ (int) $page->ID ] = $indent . esc_attr( $page->post_title );
                }
    
                unset( $pages_by_parent[$_page_id] );
            }
        }
    
        $options = $array;
    }

    Waiting for an answer, I will leave this loop commented.

    Plugin Author Luigi Cavalieri

    (@_luigi)

    Hello,
    thank you very much for your report!

    Please, update to SiteTree 6.0.3.

    Regards,
    Luigi

    Thread Starter tomqispi

    (@tomqispi)

    Thank you ??
    It’s resolved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error on fresh install 6.0.2’ is closed to new replies.