GEO my WP Support

Use this forum for technical support and general questions related to GEO my WP plugin and its core add-ons only. For technical support and general questions related to any of the premium extensions please open a new premium support ticket.

[Resolved]rand warning on Version 3.0.1, PHP Version: 7.1.15

Forums Support rand warning on Version 3.0.1, PHP Version: 7.1.15

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #57120
    imran789
    Member

    <b>Warning</b>: rand() expects parameter 2 to be integer, float given in <b>\wp-content\plugins\geo-my-wp\includes\class-gmw-cache-helper.php</b> on line <b>86</b><br />

    No form fields are displaying on create page or custom post

    Attachments:
    You must be logged in to view attached files.
    #57123
    This reply has been marked as private.
    #57125
    imran789
    Member

    Hi Eyal, form field is working, but error still showing, and i’m doing testing on localhost, let me share with you screenshot of error once…

    Attachments:
    You must be logged in to view attached files.
    #57127
    imran789
    Member
    This reply has been marked as private.
    #57151

    Hi,

    1. A temporary fix ( I will apply it in the next release ) for the error message would be to open the file geo-my-wp/includes/class-gmw-cache-helper.php, and replace line 86, which should be:

    with:

    Save the file and test it to see if the error is gone.

    2. Can you please provide a screenshot showing the issue with the info-window.

    Thanks,

    #57156
    imran789
    Member

    Error gone without changing rand, i don’t understand what’s the issue is there

    #57157

    The error might show in the “Edit post” page when you create or update a post. This is when the function that includes the rand() is triggered.

    Here you can read more about this error.

    Anyway, I have updated the code and will release it in the next version.

    #57159
    imran789
    Member

    great, Thanks

    #57226

    You are welcome.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.