Please update lines 476, 477, and 528, 529 so that the following PHP warning is not triggered:
“Trying to access array offset on value of type null in …/plugins/hitsteps-visitor-manager/init.gravityform.php”
Please see this discussion for an explanation of the issue:
The parent array $_hs_uid_data_cache needs to validated (in addition to the actual value of the array that is already checked with !isset($_hs_uid_data_cache[round($_POST['_hs_uid_data
'])])) )
]]>This happens because
$cOTLdata
is null. Previous versions of PHP may have been less strict on such mistakes and silently swallowed the error / notice while 7.4 does not do this anymore.To check whether
$cOTLdata
is null use is_null():is_null($cOTLdata)
Which means the line should look something like this:
$len = is_null($cOTLdata) ? 0 : count($cOTLdata['char_data']);
However, in case both
$cOTLdata
and$cOTLdata['char_data']
could not exist, you can useisset()
for both at once:https://stackoverflow.com/questions/59336951/message-trying-to-access-array-offset-on-value-of-type-null$len = !isset($cOTLdata['char_data']) ? 0 : count($cOTLdata['char_data']);
I can see free plan over descriptions, however I am not able to choose free plan for my website. Did hitsteps removed free plan?
]]>Hey!
First of all thanks, for amazing plugin!
I’m just wondering, is it possible to disable ‘daily pageviews graph’ from product page?
Thank you in advance!
]]>I just updated the plugin and the Hitsteps link in the admin bar is broken and looks like garbage on my site. Can you fix this asap?
]]>Hi sir,
Please,
will your plugin lead to site slowdown, due to it having to send data to the server ?
Regards
A.J.
Seems as you required API to get your plugin working via your system that mean you spy on other people websites. You should warn about this practice before plugin installation.
]]>hello
1. Where can I find the plugin after installation?
2. Is there free version for this plugin?
thanks
]]>