• Hi,

    I’ve activated this plugin on my wordpress installation and i’m trying to use it with the SLM SAMPLE PLUGIN, the only thing that i modified was the SECRET KEY and the URL for my license server site.

    But i’m getting this error:

    Notice: Trying to get property of non-object in /home/seventhe/public_html/wp-content/plugins/slm-sample-plugin.php on line 61

    Notice: Trying to get property of non-object in /home/seventhe/public_html/wp-content/plugins/slm-sample-plugin.php on line 73

    When i var_dump before

    $license_data = json_decode(wp_remote_retrieve_body($response));

    It shows me so much thing, and even prints my website like an iframe, but when i var_dump after it, i only get a NULL.

    I’ve tried it on 2 websites on different host services.

    Do you know what may be this error?

    Thank you very much 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for your question. The plugin developers will investigate further your issue.

    Kind regards

    The sample plugin’s code is something you will need to read and understand then write similar code for your plugin or theme. That sample file alone can’t be used as it doesn’t include any of the WordPress environment. So the code needs to be used inside your plugin or theme where other wordpress functions are available.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with license activation’ is closed to new replies.