Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter adamjsmith

    (@adamjsmith)

    Never mind, seems to be better now I’ve added tags/categories.

    Thanks

    Hi Adam,

    I’ve got the same problem, tried adding some tags/categories to all FYN items but still getting it?

    Did you do anything else?

    Thread Starter adamjsmith

    (@adamjsmith)

    Sorry, no, in the end that was enough. Sorry I couldn’t be more help.

    This error occurs if you have FYN items that don’t have a latitude and longitude associated with them

    This error appears twice (2x) at the start of any search results… but also lists the correct results. Can I assume that I have 2 entries without L&L values? If so, is there a quicker method to find/list those incorrect records (we currently have 100 listings)
    Would it be worth adding a php stmt to ‘not’ display these error codes?
    eg
    ini_set(‘display_errors’,0);

    apprect your help

    FYI…manually scanning the wp db identified my 2 errors
    Table = wp_postmeta
    Field = meta_key = _aphs_FYN_postcode
    I found one PCode value with no space (CDN pcode is A9A 9A9) it was entered as A9A9A9
    The second had a space as first character (eg. <space>A9A 9A9)
    In both these cases, the php function would be looking for a numeric value at a certain position but read an alpha character instead. Hence the php error “expected parameter to be double, string given” (in plain eng, ‘expected to see a number, but saw a letter instead)

    Manually correcting both these records removed the Warning error.
    Hope this helps…Rob

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Could anyone decipher this error message!’ is closed to new replies.