WordPress.org

Forums

Soundy Background Music
Notice: Use of undefined constant Error (2 posts)

  1. mrwichtig69
    Member
    Posted 1 year ago #

    I get these errors on plug in admin, and also in frontend page after a migration of my wordpress installation to a different place in my host server. Thanks in advance.

    Notice: Use of undefined constant document - assumed 'document' in /home/fredy/public_html/wp-content/plugins/soundy-background-music/soundy.php on line 962

    Notice: Use of undefined constant window - assumed 'window' in /home/fredy/public_html/wp-content/plugins/soundy-background-music/soundy.php on line 963

    Notice: Use of undefined constant upper_right - assumed 'upper_right' in /home/fredy/public_html/wp-content/plugins/soundy-background-music/soundy.php on line 973

    Notice: Use of undefined constant bottom_right - assumed 'bottom_right' in /home/fredy/public_html/wp-content/plugins/soundy-background-music/soundy.php on line 974

    Notice: Use of undefined constant upper_left - assumed 'upper_left' in /home/fredy/public_html/wp-content/plugins/soundy-background-music/soundy.php on line 975

    Notice: Use of undefined constant bottom_left - assumed 'bottom_left' in /home/fredy/public_html/wp-content/plugins/soundy-background-music/soundy.php on line 976

    https://wordpress.org/plugins/soundy-background-music/

  2. Bertrand du Couedic
    Member
    Plugin Author

    Posted 1 year ago #

    It looks like your new PHP parser does not like the lines 962 to 976 in Soundy's main php file: soundy.php.

    Is your PHP parser up-to-date ?

    Anyway, I've corrected these lines to be compatible with older PHP versions in soundy.php in the 2.2 version.

    If you reinstall Soundy from the WordPress.org repository, things regarding this issue should be fine.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Soundy Background Music
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.