PHP 7.1 warning ‘non-numeric value encountered’
-
PHP 7.1 now throws a warning when coercing an invalid string (see http://php.net/manual/en/migration71.other-changes.php)
I’m seeing this warning in my logs when using your plugin:
Got error 'PHP message: PHP Warning: A non-numeric value encountered in /var/www/innovation/web/app/plugins/feed-them-social/includes/feed-them-functions.php on line 2691My site info:
Feed Them Social Version: 2.1.6 -- WordPress Configuration: WordPress Version: 4.7.2 Multisite: No Permalink Structure: /%postname% PHP Memory Limit: 256M WP_DEBUG: Disabled -- Webserver Configuration: PHP Version: 7.1.1-1+deb.sury.org~xenial+1 Web Server Info: Apache/2.4.25 (Ubuntu) -- PHP Configuration: Safe Mode: No Upload Max Size: 32M Post Max Size: 32M Upload Max Filesize: 32M Time Limit: 30 Max Input Vars: 10000 Allow URL File Open: On (1) Display Erros: On (1) -- PHP Extensions: FSOCKOPEN: Your server supports fsockopen. cURL: Your server supports cURL. -- Active Plugins: Advanced Custom Fields: 4.4.11 AuthLDAP: 1.4.21 Autoptimize: 2.1.0 Feed Them Social (Facebook, Instagram, Twitter, etc): 2.1.6 No Cache AJAX Widgets: 1.0 Page Builder by SiteOrigin: 2.4.25 Regenerate Thumbnails: 2.2.6 Relevanssi: 3.5.7.1 Simple Custom Post Order: 2.3.1 SiteOrigin Widgets Bundle: 1.8.1 Toolset Types: 2.2.9 WordPress Importer: 0.6.3 WP Super Cache: 1.4.9 -- Custom Token or Keys added to Options Pages -- You must have a custom token to use the feeds Facebook App Token: No FB App ID for Like Button: No Twitter Consumer Key: Yes Twitter Secret: Yes Twitter Token: Yes Twitter Token Secret: Yes Instagram: No YouTube: No -- Offset Post Limit: Offset Facebook Post Limit: None Hide Notice on Front End: Yes -- FaceBook & Twitter Date Format and Timezone Date Format: one-day-ago Timezone: America/Chicago -- Fix Twitter Time: Fix: No -- Disable Magnific CSS: Fix: No -- Fix Internal Server Error:
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘PHP 7.1 warning ‘non-numeric value encountered’’ is closed to new replies.