Unhandled exception - InvalidArgumentException

1 Woche 2 Tage her - 2 Tage 19 Stunden her #10985 von Ostrea
I keep getting "Unhandled exception - InvalidArgumentException" in my e-mail over 30 times a day. The content of such e-mail is:



A PHP Exception occurred on your site. Here you can find the stack trace:

Exception Type: InvalidArgumentException
File: /home/ostrea/domains/ostrea.net/public_html/libraries/src/Table/Table.php
Line: 612
Message: Could not bind the data source in EasybookReloadedTableEntry::bind(), the source must be an array or object but a "NULL" was given.

#0 /home/ostrea/domains/ostrea.net/public_html/components/com_easybookreloaded/models/entry.php(507): Joomla\CMS\Table\Table->bind(NULL)
#1 /home/ostrea/domains/ostrea.net/public_html/libraries/src/MVC/View/HtmlView.php(423): EasybookReloadedModelEntry->getData()
#2 /home/ostrea/domains/ostrea.net/public_html/components/com_easybookreloaded/views/entry/view.html.php(41): Joomla\CMS\MVC\View\HtmlView->get('Data')
#3 /home/ostrea/domains/ostrea.net/public_html/libraries/src/MVC/Controller/BaseController.php(672): EasybookReloadedViewEntry->display()
#4 /home/ostrea/domains/ostrea.net/public_html/components/com_easybookreloaded/controllers/entry.php(48): Joomla\CMS\MVC\Controller\BaseController->display()
#5 /home/ostrea/domains/ostrea.net/public_html/components/com_easybookreloaded/controllers/entry.php(37): EasybookReloadedControllerEntry->addEdit()
#6 /home/ostrea/domains/ostrea.net/public_html/libraries/src/MVC/Controller/BaseController.php(710): EasybookReloadedControllerEntry->add()
#7 /home/ostrea/domains/ostrea.net/public_html/components/com_easybookreloaded/easybookreloaded.php(38): Joomla\CMS\MVC\Controller\BaseController->execute('add')
#8 /home/ostrea/domains/ostrea.net/public_html/libraries/src/Component/ComponentHelper.php(382): require_once('/home/ostrea/do...')
#9 /home/ostrea/domains/ostrea.net/public_html/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/ostrea/do...')
#10 /home/ostrea/domains/ostrea.net/public_html/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_easybookrel...')
#11 /home/ostrea/domains/ostrea.net/public_html/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#12 /home/ostrea/domains/ostrea.net/public_html/libraries/src/Application/CMSApplication.php(195): Joomla\CMS\Application\SiteApplication->doExecute()
#13 /home/ostrea/domains/ostrea.net/public_html/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#14 {main}

Request information
GET variables

Array
(
[retry] => true
[lang] => en
[language] => en-GB
[Itemid] => 292
[option] => com_easybookreloaded
[controller] => entry
[task] => add
)

POST variables

Array
(
)

COOKIE variables

Array
(
)

REQUEST variables

Array
(
[retry] => true
[lang] => en
[language] => en-GB
[Itemid] => 292
[option] => com_easybookreloaded
[controller] => entry
[task] => add
[view] => entry
[layout] => form
)

SERVER variables

Array
(
[REDIRECT_UNIQUE_ID] => WyHzLeoxzY6UWmKvU-erqwAAAAI
[REDIRECT_HTTP_AUTHORIZATION] =>
[REDIRECT_HTTPS] => on
[REDIRECT_SSL_TLS_SNI] => ostrea.net
[REDIRECT_STATUS] => 200
[UNIQUE_ID] => WyHzLeoxzY6UWmKvU-erqwAAAAI
[HTTP_AUTHORIZATION] =>
[HTTPS] => on
[SSL_TLS_SNI] => ostrea.net
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
[HTTP_REFERER] =>
Diese Nachricht enthält vertrauliche Informationen.

[HTTP_HOST] => ostrea.net
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache/2
[SERVER_NAME] => ostrea.net
[SERVER_ADDR] => 178.18.92.243
[SERVER_PORT] => 443
[REMOTE_ADDR] =>
Diese Nachricht enthält vertrauliche Informationen.

[DOCUMENT_ROOT] => /home/ostrea/domains/ostrea.net/private_html
[REQUEST_SCHEME] => https
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /home/ostrea/domains/ostrea.net/private_html
[SERVER_ADMIN] => Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!
[SCRIPT_FILENAME] => /home/ostrea/domains/ostrea.net/private_html/index.php
[REMOTE_PORT] => 36178
[REDIRECT_URL] => /informatie-en/guestbook-en/entry/add
[REDIRECT_QUERY_STRING] => retry=true&lang=en
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.0
[REQUEST_METHOD] => GET
[QUERY_STRING] => retry=true&lang=en&Itemid=292&option=com_easybookreloaded&controller=entry&task=add
[REQUEST_URI] => /informatie-en/guestbook-en/entry/add?retry=true&lang=en
[SCRIPT_NAME] => /index.php
[PHP_SELF] => /index.php
[REQUEST_TIME_FLOAT] => 1528951597.18
[REQUEST_TIME] => 1528951597
)

2 Tage 19 Stunden her #10989 von Vitja
Hi Ostrea,

first of all, usually you don't get an email if such an error is triggered, this is a configuration of your server. The error occurs because spam bots are sending direct requests without proper data. Though, this is not really a bug but it should be handled better for sure.

What versions are you using (Joomla! and Easybook Reloaded)? I will analyze it in more detail and provide an improvement for the current EBR version.

Cheers

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
2 Tage 19 Stunden her #10990 von Vitja
Hmm, just checked it and it should work. Can you please do a manual test?

Enter the data and a wrong spamcheck result so that you will be redirected to the form again with an error message once submitted. Do you also receive an email with the mentioned error in this case?

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
Ladezeit der Seite: 0.142 Sekunden