• sarbar

    (@sarbar)


    Hi Amit
    i have added the plugin for two of my websites, it runs Great, Thanks

    one of them has this error

    when i click the app icon it opens and shows this.
    site is running Enfold last Version

    Notice: Undefined index: contact in /home/spakbcoi/domains/spa-kb.co.il/public_html/wp-content/plugins/accessible-poetry/inc/acp-toolbar.php on line 74

    Baruch

    https://wordpress.org/plugins/accessible-poetry/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I too like this plugin. And I too ran into this error.

    I fixed it locally by testing if that index is set in the array. In the line of code indicated in the error (with your version – 74, in the latest version (2.0.1) it’s line 68), add isset() function before the check of the value.

    So instead of:
    if( $options['contact'] == 1 || $options['declaration'] == 1 ) :

    The condition should be:
    if ( (isset( $options['contact'] ) && $options['contact'] == 1) || (isset( $options['declaration'] ) && $options['declaration'] == 1) ) :

    Plugin Author Amit Moreno

    (@digisphere)

    Please try the new version and let me know if the bug was fixed. we fixed many bugs over the last weeks.

    There are no errors in debug mode and I see that this condition doesn’t appear anymore, so it seems that this bug was taken care of. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘i get this error’ is closed to new replies.