Associating multiple fields in the TP framework does not work

public function categories()
{
    return $this->belongsToMany("PortalCategoryModel", "portal_category_post", "category_id", "post_id","type");
}
The

type field has no data. According to the official case, there are only four parameters. Am I wrong to add type?

clipboard.png

Jan.28,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e54275-658a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e54275-658a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?