You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just declare $site_id member field (like the others) before assigning it.
Hotfix:
sed -i '/var $config;/a var $site_id;' vendor/open-web-analytics/owa-php-sdk/src/Tracker/TrackerClient.php
Additional context
I see no recent update on this project for a few years, which I can understand, but wondering if you're still handling PR requests as I see some pending. Most of the fixes should be fairly trivial.
The text was updated successfully, but these errors were encountered:
Affected Version(s): 1.0.8
PHP Version: 8.2 FPM
Webserver: Nginx
Browser: N/A
Description
Creation of dynamic property OwaSdk\Tracker\TrackerClient::$site_id is deprecated
Triggered from https://github.com/Open-Web-Analytics/owa-php-sdk/blob/master/src/Tracker/TrackerClient.php#L1236
How to reproduce
Just run the getting started sample code.
Possible Solution
Just declare
$site_id
member field (like the others) before assigning it.Hotfix:
sed -i '/var $config;/a var $site_id;' vendor/open-web-analytics/owa-php-sdk/src/Tracker/TrackerClient.php
Additional context
I see no recent update on this project for a few years, which I can understand, but wondering if you're still handling PR requests as I see some pending. Most of the fixes should be fairly trivial.
The text was updated successfully, but these errors were encountered: