Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2020 21:47:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244382] www/wordpress: add php72-json as a dependency
Message-ID:  <bug-244382-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244382

            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@FreeBSD.org
          Reporter: freebsd.org@neant.ro
             Flags: maintainer-feedback?(joneum@FreeBSD.org)
          Assignee: joneum@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 err=
or:=20
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@address.spam')
#1 /usr/local/www/wordpress/wp-includes/blocks.php(274):
parse_blocks('email@address.spam')
(...)


Also, with php72-json installed it suggests a password during install and w=
arns
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-re=
quired/

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244382-7788>