WPIntell

Source evidence

PHP 8 error: socket_connect()

Purge Varnish Cache · support · 2023-11-01T07:53:00+00:00

mixedsentiment
mediumseverity
0.78relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 31 rows with source links

12.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Kash resolved
Hello, After updating my php from 7.4 to 8.1 This issues started happening on plugin page & when updating content: E_ERROR (Line 129) file: /wp-content/plugins/purge-varnish/class_purge_varnish.php. Uncaught TypeError: socket_connect(): Argument #3 ($port) must be of type ?int, string given in /wp-content/plugins/purge-varnish/class_purge_varnish.php:129 Stack trace: #0 /wp-content/plugins/purge-varnish/class_purge_varnish.php(129): Fixed it by passing intval to $port. (Line: 129 File: class_purge_varnish.php) if (@!socket_connect($client, $server, intval($port))) { @ Kash , Issue resolved. Please check.

Comments

2 shown
Kash 2023-11-01T08:04:00+00:00

Fixed it by passing intval to $port. (Line: 129 File: class_purge_varnish.php) if (@!socket_connect($client, $server, intval($port))) {

Dsingh 2024-02-04T11:31:00+00:00

@ Kash , Issue resolved. Please check.