Author Topic: Undefined error?  (Read 264 times)

0 Members and 1 Guest are viewing this topic.

Offline mkutche

  • Forecaster
  • *****
  • Posts: 791
    • GosportWx.com
Undefined error?
« on: January 22, 2018, 09:09:21 PM »
Notice: Undefined variable: pccntra in /home/hj2ke8lfpx43/public_html/nws-alerts-details-inc.php on line 201

Warning: array_sum() expects parameter 1 to be array, null given in /home/hj2ke8lfpx43/public_html/nws-alerts-details-inc.php on line 201

This is line 201
Code: [Select]
$geola = array_sum($pccntra) / $cgcl;                //  get sum of latitude coordinates and divide by arrays
Also i have php 7
Mike K.
WS2080 - Cumulus MX v3.0.0
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportWxcom
-----------------------------------------------------------

Offline mkutche

  • Forecaster
  • *****
  • Posts: 791
    • GosportWx.com
Re: Undefined error?
« Reply #1 on: January 23, 2018, 07:39:30 AM »
ok so all i had to do was go into the NWS-Alerts-Config and disable the map
« Last Edit: January 23, 2018, 07:43:52 AM by mkutche »
Mike K.
WS2080 - Cumulus MX v3.0.0
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportWxcom
-----------------------------------------------------------