As the notice indicates, you’ll have to contact whomever manages your web server to ensure that curl is available.
Thread Starter
Richard
(@wfstudents)
Oh, I manage my own server and I have curl php7.3-curl installed…
Here’s something that might help…
When i enable JetPack comment likes, I get a white screen of death.. I have to disable the comment likes feature to get back into the site..
And my server logs show this:
Stack trace:
#0 /example.com/wp-content/plugins/jetpack/3rd-party/class.jetpack-amp-support.php(60): amp_is_canonical()
#1 /example.com/wp-includes/class-wp-hook.php(286): Jetpack_AMP_Support::is_amp_canonical(false)
#2 /example.com//wp-includes/plugin.php(208): WP_Hook->apply_filters(false, Array)
#3 //wp-content/plugins/jetpack/modules/likes/jetpack-likes-settings.php(31): apply_filters(‘post_flair_disa…’, false)
#4 /example.com/wp-includes/class-wp-hook.php(286): Jetpack_Likes_Settings->add_meta_box(”)
#5 /example.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
-
This reply was modified 3 years, 6 months ago by
Richard.
-
This reply was modified 3 years, 6 months ago by
Richard.
-
This reply was modified 3 years, 6 months ago by
Richard.
Thread Starter
Richard
(@wfstudents)
Really can’t tell you.. but PHP curl extension is installed and enabled..
Just thought there’s something with your code Jetpack or AMP..
Configuration File (php.ini) Path: /etc/php/7.3/cli
Loaded Configuration File: /etc/php/7.3/cli/php.ini
Scan for additional .ini files in: /etc/php/7.3/cli/conf.d
Additional .ini files parsed: /etc/php/7.3/cli/conf.d/10-mysqlnd.ini,
/etc/php/7.3/cli/conf.d/10-opcache.ini,
/etc/php/7.3/cli/conf.d/10-pdo.ini,
/etc/php/7.3/cli/conf.d/15-xml.ini,
/etc/php/7.3/cli/conf.d/20-bcmath.ini,
/etc/php/7.3/cli/conf.d/20-calendar.ini,
/etc/php/7.3/cli/conf.d/20-ctype.ini,
/etc/php/7.3/cli/conf.d/20-curl.ini,
/etc/php/7.3/cli/conf.d/20-dom.ini,
/etc/php/7.3/cli/conf.d/20-exif.ini,
/etc/php/7.3/cli/conf.d/20-fileinfo.ini,
/etc/php/7.3/cli/conf.d/20-ftp.ini,
/etc/php/7.3/cli/conf.d/20-gd.ini,
/etc/php/7.3/cli/conf.d/20-gettext.ini,
/etc/php/7.3/cli/conf.d/20-iconv.ini,
/etc/php/7.3/cli/conf.d/20-igbinary.ini,
/etc/php/7.3/cli/conf.d/20-imagick.ini,
………………..
-
This reply was modified 3 years, 6 months ago by
Richard.
Thread Starter
Richard
(@wfstudents)
Sorry,
Found an error with PHP… and not your code.. researching
Thanks,
PHP Startup: Unable to load dynamic library ‘curl.so’ (tried: /usr/lib/php/20180731/curl.so (/usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file libidn2.so.0 with link time reference), /usr/lib/php/20180731/curl.so.so (/usr/lib/php/20180731/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Thread Starter
Richard
(@wfstudents)
I resolved it..
It was the latest libidn2.so.0 whcih causes multiple application failures with apt-update..
I couldn’t update the server and left it in bad state..
Fixed with the lines below:
wget http://mirrors.kernel.org/ubuntu/pool/main/libi/libidn2/libidn2-0_2.0.4-1.1build2_amd64.deb
$ sudo dpkg -i libidn2-0_2.0.4-1.1build2_amd64.deb
Thanks,