Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Warnings #201

Open
glaubinix opened this issue Apr 4, 2020 · 1 comment
Open

PHP Warnings #201

glaubinix opened this issue Apr 4, 2020 · 1 comment

Comments

@glaubinix
Copy link
Member

glaubinix commented Apr 4, 2020

Invalid argument supplied for foreach() in /htdocs/content/bookmarks.php:76
POST /index.php?page=bookmarks&mode=fleet

count(): Parameter must be an array or an object that implements Countable in /htdocs/content/reports.php: 41
POST /?page=reports&type=all

require_once(/htdocs/admin/../src/minimalapp.php): failed to open stream: No such file or directory in /htdocs/admin/index.php:173
POST /admin/?page=user&sub=observed

Invalid argument supplied for foreach() in /htdocs/content/alliance/editmembers.inc.php:195
GET /?page=alliance&action=editmembers&setfounder=62

A non-numeric value encountered in /htdocs/inc/xajax/haven.xajax.php:2004
POST /index.php?page=haven&target=6158

@Isitar
Copy link
Contributor

Isitar commented Jul 18, 2020

wegem count:

https://github.com/etoa/etoa-gui/blob/38a4a65973b71550ad4993ca5b7b55872d74282a/htdocs/content/reports.php#

das passiert wenn man einfach auf markierte löschen drückt, aber nichts markiert hat.
am besten abfangen mit isset($_POST....).
um für php 7 gewappnet zu sein, evtl auch gleich noch prüfen ob es ein array ist (is_array)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants