• Resolved Malae

    (@malae)


    Hello,
    Thank you for the radio player plugin. I am doing some testing on my site and am getting flooded with PHP Notices in the debug file. Could you please fix the following:
    PHP Notice: Undefined index: title in /wp-content/plugins/radio-player/includes/class-hooks.php on line 109
    PHP Notice: Undefined index: config in /wp-content/plugins/radio-player/includes/class-shortcode.php on line 43
    PHP Notice: Undefined index: stations in /wp-content/plugins/radio-player/includes/class-shortcode.php on line 46

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Prince

    (@princeahmed)

    Hi @malae
    Sorry to hear that you are in trouble with our plugin.
    Can please confirm are you install a new plugin or updated the plugin from the old version to the new version?

    Thread Starter Malae

    (@malae)

    Hello Prince,

    Thank you for your prompt response. I had updated to version 2.0.1 some hours before the last PHP Notice appeared, but it must have been from cached files. After clearing caches and the wp-debug file I have not see any further notices. The server is running on PHP 7.4.

    However, I will mention here that I have the same site on a LAMP server running on PHP 8.1 for development. When I updated to version 2.0.1 the player was aligned to the left, background colors had changed and there were other issues making it unusable. Reverting the the old version fixed the issues. Has the plugin been checked with PHP 8.1?

    Plugin Author Prince

    (@princeahmed)

    Hi @malae
    Can you please share the page URL where you are displaying the player, so that we can check the issue?

    Thread Starter Malae

    (@malae)

    Hello Prince,

    Thank you for the offer, however the server runs localhost and is inaccessible from the Internet. If you can advise that the plugin should run on PHP 8.1, I will check again and advise what I find.

    Plugin Author Prince

    (@princeahmed)

    Hi @malae
    Yes, the latest version – v2.0.1 is compatible with PHP 8.1.

    Thread Starter Malae

    (@malae)

    Hello Prince,

    Thank you for your reply. I note that the plug-in is compatible with PHP 8.1. Since I have no further problem with the PHP Notice, I will close this and open a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Notices Undefined index’ is closed to new replies.