Support » Plugin: Soundy Background Music » Notice: Use of undefined constant Error

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Bertrand du Couedic

    (@bducouedic)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Notice: Use of undefined constant Error’ is closed to new replies.