PBR urgent problem

I have been trying to get PBR running i have tried 6 fresh installation but i am getting the same error. i think this is a version problem. please someone should help.

Loading environment (on_start) ✗
pbr 1.2.1-r35 FAILED TO START in fw4 nft file mode!!!
Check the output of nft -c -f /var/run/pbr.nft
ERROR: Default fw4 chain 'mangle_forward' is missing!
ERROR: Default fw4 chain 'mangle_output' is missing!
ERROR: Default fw4 chain 'mangle_prerouting' is missing!
ERROR: Errors encountered, please check https://docs.openwrt.melmac.ca/pbr/1.2.1/#ErrorMessagesDetails!


Check the output of nft -c -f /var/run/pbr.nft

#nft -c -f /var/run/pbr.nft
internal:0:0-0: Error: Could not open file "/var/run/pbr.nft": No such file or directory

i also tried to create /var/run/pbr.nft manually and i rebooted the router

here is the error

/var/run/pbr.nft:6:16-18: Error: No such file or directory
add chain inet fw4 pbr_mark_0x010000
^^^
/var/run/pbr.nft:9:16-18: Error: No such file or directory
add chain inet fw4 pbr_mark_0x020000
^^^
/var/run/pbr.nft:12:16-18: Error: No such file or directory
add chain inet fw4 pbr_mark_0x030000
^^^
/var/run/pbr.nft:15:16-18: Error: No such file or directory
add chain inet fw4 pbr_mark_0x040000
^^^
/var/run/pbr.nft:18:16-18: Error: No such file or directory
add chain inet fw4 pbr_mark_0x050000

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):

Screenshot 2025-10-20 at 8.14.14 PM

Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/dhcp
cat /etc/config/firewall
service firewall status

What is the content of that file?