Conversation
supporthey there, i’ve noticed i got some warning logged when using the plugin with google spreadsheets: Warning Undefined variable $editable_files+ wp-content/plugins/csv-to-html/csvtohtml.php:4495 Warning Trying to access array offset on value of type null+ wp-content/plugins/csv-to-html/csvtohtml.php:4495 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 .
Hi there! Thanks for your feedback. I will fix this and some other warning-issues to next release!
Thank you wibergsweb! but i still have this warning left. Even after update to recent version: Warning mkdir(): File exists wp-content/plugins/csv-to-html/csvtohtml.php:5155 mkdir() wp-content/plugins/csv-to-html/csvtohtml.php:5155 csvtohtmlwp->source_to_table()
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!
Version 3.04 is now officially published and issues in this thread should hopefully be solved. Sorry that this took such titme!
Hi there! Thanks for your feedback. I will fix this and some other warning-issues to next release!
Thank you wibergsweb! but i still have this warning left. Even after update to recent version: Warning mkdir(): File exists wp-content/plugins/csv-to-html/csvtohtml.php:5155 mkdir() wp-content/plugins/csv-to-html/csvtohtml.php:5155 csvtohtmlwp->source_to_table()
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!
Version 3.04 is now officially published and issues in this thread should hopefully be solved. Sorry that this took such titme!