Page 1 of 1

Known issues in 3.2.2

Posted: Mon Jan 08, 2018 4:48 pm
by Marc
In the initial release phase we've noticed two issues that can prevent users from fully updating their boards:
  • PHP Fatal error: Uncaught Error: Call to a member function fetch_array() on resource in phpbb/db/migration/data/v32x/fix_user_styles.php:42

    Fix: Open phpbb/db/migration/data/v32x/fix_user_styles.php & find:

    Code: Select all

    		$enabled_styles = $result->fetch_array();
    Replace with:

    Code: Select all

    		$enabled_styles = array();
    		while ($row = $this->db->sql_fetchrow($result))
    		{
    			$enabled_styles[] = (int) $row['style_id'];
    		}
  • PHP Fatal error: Call to a member function get() on null in phpbb/db/migration/data/v32x/merge_duplicate_bbcodes.php on line 49

    Fix: Open phpbb/db/migration/data/v32x/merge_duplicate_bbcodes.php & find:

    Code: Select all

    class merge_duplicate_bbcodes extends \phpbb\db\migration\migration
    Replace with:

    Code: Select all

    class merge_duplicate_bbcodes extends \phpbb\db\migration\container_aware_migration
  • Issues involving attachments not showing, or not all showing, when posts with multiple attachments are posted or previewed, as discussed in this topic

    Fix: Open phpBB/includes/functions_posting.php & find:

    Code: Select all

    foreach ($attachment_data as $count => $attach_row)
    On a separate line BEFORE, ADD:

    Code: Select all

    $attachrow_template_vars = [];
    
    
    Find and DELETE:

    Code: Select all

    $attachrow_template_vars = array();