WordPress.org

Ready to get started?Download WordPress

Forums

WP Minify
[resolved] PHP Fatal error - Undefined function curl_init() (3 posts)

  1. arachma1
    Member
    Posted 2 years ago #

    I am not sure how to troubleshoot this problem.

    I just got blank screen after I activated "WP Minify" and my Nginx error log just shows something like below:

    [error] 27538#0: *359 FastCGI sent in stderr: "PHP Fatal error: Call to undefined function curl_init() in /AAA/BBB/CCC/wp-content/plugins/wp-minify/wp-minify.php on line 391
    PHP Fatal error: Call to a member function get() on a non-object in /AAA/BBB/CCC/wp-includes/cache.php on line 112" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: myweblog.info, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/PPP/QQQ.sock:", host: "myweblog.info"

    WordPress version 3.3 (fresh installed)
    Database: SQLite3 (with PDO SQLite plugins v2.7.0)
    Web Server: Nginx 1.1.11 (with fastcgi via php5-fpm v5.3.8)

    Everything is back to normal after deactivating "WP Minify".

    http://wordpress.org/extend/plugins/wp-minify/

  2. arachma1
    Member
    Posted 2 years ago #

    I just tried to activate and restore the default settings, and it works.

    After enabling each of the settings as I used before, one by one, the problem only happens when I ticked on Use "pretty" URL" box. That is 100% reproducible.

  3. arachma1
    Member
    Posted 2 years ago #

    Silly me!

    It is quite obvious from the error message that there is no curl_init() function on my setup.

    After installing php5-curl module and restarted php5-fpm, WP Minify works fine with Use "pretty" URL" box thicked.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags