Support

Account

Home Forums Backend Issues (wp-admin) Blank page after publishing on particular pages Reply To: Blank page after publishing on particular pages

  • Thank you John for your explanations and for this smart trick (but doesn’t work in my situation). It’s very clear for me how timeout issues work. 🙂

    Yes, there’s a lot of fields (around 30 blocks in the screen options) but most of them are empty.

    Now, when going back to http://www.example.com/wp-admin/post.php I just get this message:

    Warning: in_array() expects parameter 2 to be array, string given in /home/xxxxxx/xxxxxx/wp-content/themes/wplmsblankchildtheme/functions.php on line 179
    
    Fatal error: [] operator not supported for strings in /home/xxxxxx/xxxxxx/wp-content/themes/wplmsblankchildtheme/functions.php on line 183 

    The two lines concerned:

    			// bail early if the current $post_id is already found in selected post's $value2
    			if( in_array($post_id, $value2) ) continue;
    			
    			
    			// append the current $post_id to the selected post's 'action-bonne_pratique' value
    			$value2[] = $post_id;

    I followed this tutorial: https://www.advancedcustomfields.com/resources/bidirectional-relationships/

    I don’t have this message for another post (same CPT). ^^