• Resolved nicmare

    (@nicmare)


    hey there, i’ve noticed i got some warning logged when using the plugin with google spreadsheets:

    1. Warning
      Undefined variable $editable_files+
      wp-content/plugins/csv-to-html/csvtohtml.php:4495
    2. Warning
      Trying to access array offset on value of type null+
      wp-content/plugins/csv-to-html/csvtohtml.php:4495
    3. Warning
      mkdir(): File exists+
      wp-content/plugins/csv-to-html/csvtohtml.php:5041

    Shortcode:

    [csvtohtml_create fetch_interval="hourly" html_id="termine_jugend" design_template="no" source_type="guess" add_ext_auto="no" source_files="https://docs.google.com/spreadsheets/d/1wgXH6vjGG3x5NjMlNDyRYCKmMmGuM3h1UfrcbuPFmXs/gviz/tq?tqx=out:csv&sheet=TSG_Jugend-Kalender" responsive="no" grabcontent_col_fromlink="Link" grabcontent_col_tolink="Aktivität" hide_cols="Link" markdown_support="yes"]

    i updated already to the recent version of the plugin and working with php 8.2

    • This topic was modified 2 years ago by nicmare.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wibergsweb

    (@wibergsweb)

    Hi there!

    Thanks for your feedback. I will fix this and some other warning-issues to next release!

    Thread Starter nicmare

    (@nicmare)

    Thank you wibergsweb! but i still have this warning left. Even after update to recent version:

    Warning

    mkdir(): File exists

    1. wp-content/plugins/csv-to-html/csvtohtml.php:5155
    2. mkdir()
      wp-content/plugins/csv-to-html/csvtohtml.php:5155
    3. csvtohtmlwp->source_to_table()
    Plugin Author wibergsweb

    (@wibergsweb)

    Hi!

    I digged into this and this actually seems to be “kind of” server issue. The thing is that I use @mkdir (suppress warrnings/errors) but some webservers and maybe a newer version of PHP don’t care about this. I usually don’t use @ to supress codes like this, but in this case I did.

    To next release I will only attempt to create this directory if it doesn’t exists (this directory is created when using fetch interval)

    Thanks for your feedback!

    Plugin Author wibergsweb

    (@wibergsweb)

    Version 3.04 is now officially published and issues in this thread should hopefully be solved. Sorry that this took such titme!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘warnings Undefined variable $editable_files’ is closed to new replies.