scribu / wp-posts-to-posts

Efficient many-to-many connections between posts, pages, custom post types, users.
http://wordpress.org/plugins/posts-to-posts/
969 stars 260 forks source link

Fails with fatal error on PHP 8.1 #576

Open krishaamer opened 2 years ago

krishaamer commented 2 years ago

FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ValueError: Unknown format specifier "i" in /srv/.../plugins/posts-to-posts/vendor/mustache/mustache/src/Mustache/Engine.php"

Found a related PR #2

sboerrigter commented 2 years ago

Same issue here on PHP 8.0. I've updated the Mustache package and created a PR that fixes this issue: https://github.com/scribu/wp-posts-to-posts/pull/577.