Support » Plugin: Google Drive WP Media » Error on line 238 after update

  • alicanas

    (@dariliya)


    Hi
    I have updated the plugin today and now I get this message on line 238;
    Debug: (gdwpm_dummy_fol in /home/dariliya/public_html/promocijski-izdelki/wp-content/plugins/google-drive-wp-media/google-drive-wp-media.php on line 238)
    if(!$gdwpm_dummy_fol){$gdwpm_dummy_fol = get_option(‘gdwpm_dummy_folder’);}
    What is the issue? Could this be resolved?

    And thank you for the great plugin.
    Best regards, Alica

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Moch Amir

    (@moch-a)

    yup, i have fixed that
    if you want to fix that error, just replace:
    if(!$gdwpm_dummy_fol){$gdwpm_dummy_fol = get_option(‘gdwpm_dummy_folder’);}
    with:
    if(!iseet($gdwpm_dummy_fol)){$gdwpm_dummy_fol = get_option(‘gdwpm_dummy_folder’);}

    thanks for your feedback

    alicanas

    (@dariliya)

    hi
    By replacing it with the new text I got this error message and control panel became blank:
    Fatal error: Uncaught Error: Call to undefined function iseet() in /home/dariliya/public_html/promocijski-izdelki/wp-content/plugins/google-drive-wp-media/google-drive-wp-media.php:238 Stack trace: #0 /home/dariliya/public_html/promocijski-izdelki/wp-includes/class-wp-hook.php(298): gdwpm_admin_head(”) #1 /home/dariliya/public_html/promocijski-izdelki/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/dariliya/public_html/promocijski-izdelki/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/dariliya/public_html/promocijski-izdelki/wp-admin/admin-header.php(142): do_action(‘admin_head’) #4 /home/dariliya/public_html/promocijski-izdelki/wp-admin/index.php(101): include(‘/home/dariliya/…’) #5 {main} thrown in /home/dariliya/public_html/promocijski-izdelki/wp-content/plugins/google-drive-wp-media/google-drive-wp-media.php on line 238

    The issue is resolved anyway:
    I have replaced the file with the backup file (before the last google drive update) google-drive-wp-media.php and now it works fine.

    Thank you for your support. 🙂
    Enjoy!

    Alica

    Plugin Author Moch Amir

    (@moch-a)

    OMG.. I made a typo
    it should be ‘isset’
    sorry for my mistake 🙁

    No problem. Thank you. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error on line 238 after update’ is closed to new replies.