mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #61728
[Bug 1926530] [NEW] Elasticsearch producing warning: Undefined property: stdClass::$icon
Public bug reported:
It is possible to produce a warning via an Elasticsearch call if the
results produce a broken icon link.
The warning is as follows:
[WAR] 85 (search/elasticsearch/type/ElasticsearchType_artefact.php:332) Undefined property: stdClass::$icon
Call stack (most recent first):
log_message("Undefined property: stdClass::$icon", 8, true, true, "/var/www/master-dev-prod-mahara/releases/202104280...", 332) at /var/www/master-dev-prod-mahara/releases/20210428075700/lib/errors.php:515
error(8, "Undefined property: stdClass::$icon", "/var/www/master-dev-prod-mahara/releases/202104280...", 332, array(size 7)) at /var/www/master-dev-prod-mahara/releases/20210428075700/search/elasticsearch/type/ElasticsearchType_artefact.php:332
ElasticsearchType_artefact::getRecordDataById("artefact", "3560") at /var/www/master-dev-prod-mahara/releases/20210428075700/search/elasticsearch/lib.php:1926
ElasticsearchPseudotype_all::search("TEST", 10, 0, array(size 4), null, object(LiveUser)) at /var/www/master-dev-prod-mahara/releases/20210428075700/search/elasticsearch/lib.php:1073
PluginSearchElasticsearch::search_all("TEST", 10, 0, array(size 4), null) at /var/www/master-dev-prod-mahara/releases/20210428075700/search/elasticsearch/json/elasticsearch.php:53
This was first produced on dev.mahara.org on 21.04.dev code, while
searching for the term, "test".
** Affects: mahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1926530
Title:
Elasticsearch producing warning: Undefined property: stdClass::$icon
Status in Mahara:
New
Bug description:
It is possible to produce a warning via an Elasticsearch call if the
results produce a broken icon link.
The warning is as follows:
[WAR] 85 (search/elasticsearch/type/ElasticsearchType_artefact.php:332) Undefined property: stdClass::$icon
Call stack (most recent first):
log_message("Undefined property: stdClass::$icon", 8, true, true, "/var/www/master-dev-prod-mahara/releases/202104280...", 332) at /var/www/master-dev-prod-mahara/releases/20210428075700/lib/errors.php:515
error(8, "Undefined property: stdClass::$icon", "/var/www/master-dev-prod-mahara/releases/202104280...", 332, array(size 7)) at /var/www/master-dev-prod-mahara/releases/20210428075700/search/elasticsearch/type/ElasticsearchType_artefact.php:332
ElasticsearchType_artefact::getRecordDataById("artefact", "3560") at /var/www/master-dev-prod-mahara/releases/20210428075700/search/elasticsearch/lib.php:1926
ElasticsearchPseudotype_all::search("TEST", 10, 0, array(size 4), null, object(LiveUser)) at /var/www/master-dev-prod-mahara/releases/20210428075700/search/elasticsearch/lib.php:1073
PluginSearchElasticsearch::search_all("TEST", 10, 0, array(size 4), null) at /var/www/master-dev-prod-mahara/releases/20210428075700/search/elasticsearch/json/elasticsearch.php:53
This was first produced on dev.mahara.org on 21.04.dev code, while
searching for the term, "test".
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1926530/+subscriptions
Follow ups
-
[Bug 1926530] A patch has been submitted for review
From: Mahara Bot, 2021-05-03
-
[Bug 1926530] Re: Elasticsearch producing warning: Undefined property: stdClass::$icon
From: Robert Lyon, 2021-04-30
-
[Bug 1926530] Re: Elasticsearch producing warning: Undefined property: stdClass::$icon
From: Doris Tam, 2021-04-29
-
[Bug 1926530] Re: Elasticsearch producing warning: Undefined property: stdClass::$icon
From: Doris Tam, 2021-04-29
-
[Bug 1926530] A change has been merged
From: Mahara Bot, 2021-04-29
-
[Bug 1926530] A patch has been submitted for review
From: Mahara Bot, 2021-04-29
-
[Bug 1926530] A change has been merged
From: Mahara Bot, 2021-04-29
-
[Bug 1926530] Re: Elasticsearch producing warning: Undefined property: stdClass::$icon
From: Robert Lyon, 2021-04-29
-
[Bug 1926530] Re: Elasticsearch producing warning: Undefined property: stdClass::$icon
From: Kristina Hoeppner, 2021-04-29
-
[Bug 1926530] Re: Elasticsearch producing warning: Undefined property: stdClass::$icon
From: Doris Tam, 2021-04-29
-
[Bug 1926530] A patch has been submitted for review
From: Mahara Bot, 2021-04-29
-
[Bug 1926530] Re: Elasticsearch producing warning: Undefined property: stdClass::$icon
From: Doris Tam, 2021-04-29