[Bug 244382] www/wordpress: add php72-json as a dependency

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 24 21:47:42 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244382

            Bug ID: 244382
           Summary: www/wordpress: add php72-json as a dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum at FreeBSD.org
          Reporter: freebsd.org at neant.ro
             Flags: maintainer-feedback?(joneum at FreeBSD.org)
          Assignee: joneum at FreeBSD.org

Without php-json extension Wordpress 5.3.2 fails during a fresh install with
the following in Nginx error log:


[error] 9437#100173: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error: 
Uncaught Error: Call to undefined function json_decode() in
/usr/local/www/wordpress/wp-includes/class-wp-block-parser.php:232
Stack trace:
#0 /usr/local/www/wordpress/wp-includes/blocks.php(521):
WP_Block_Parser->parse('email at address.spam')
#1 /usr/local/www/wordpress/wp-includes/blocks.php(274):
parse_blocks('email at address.spam')
(...)


Also, with php72-json installed it suggests a password during install and warns
against weak passwords. Without php72-json it just asked for the password
twice. There are probably more differences later.


This post has more details:
https://make.wordpress.org/core/2019/10/15/php-native-json-extension-now-required/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list