Skip to main content

Questions tagged [jerror]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

What is the status of deprecated JError and what is the suggested replacement

JError is shown as deprecated (as of 12.3), but is still widely used in the core. The API docs say that its status is deprecated - 4.0 Will be removed without replacement, but its still alive and well ...
Dom's user avatar
  • 511
2 votes
2 answers

How to solve include_once() Warnings in tmp directory after migration?

After Joomla migration, I'm left with a few errors like: Warning: include_once(menu.php): failed to open stream: No such file or directory in /www/doc/ on line 1 ...
Filip's user avatar
  • 41
0 votes
1 answer

Random Joomla 403 Errors after Logging in [duplicate]

I have a joomla site that is set to registered permissions only. Currently, everything works fine after migrating it to another folder, but when my users log in and AFK for a bit of time and then come ...
user1721449's user avatar
5 votes
2 answers

How to catch an error in Joomla 3.5 (alternative to JError)

I've read the Exception methods in order to replace the deprecated JError, but I can't solve the following problem: I have a plugin that redirects an user to a login page in case he/she tries to ...
jackJoe's user avatar
  • 865
3 votes
1 answer

Messages : Warnings / Errors

The official CMS 3.4 API page of Joomla classifies the JError class and all its methods as deprecated, yet I couldn't find any alternative to output messages when i.e. there is an error after server ...
Mg Gm's user avatar
  • 127
7 votes
2 answers

How do I properly raise an error from within a plugin?

I am successfully preventing some content from being saved under certain conditions, but am having trouble handling the error message to the user. The actual text does display, but there is ...
GDP's user avatar
  • 7,715
8 votes
1 answer

Replace deprecated getError and getErrors

I have been looking through some logs and noticed that getError() and getErrors() are throwing deprecated messages in Joomla 3.3 (we just updated). Apparently these were deprecated back in Joomla 2.5, ...
DemonGyro's user avatar
  • 181
1 vote
1 answer

Error loading module MySQL server has gone away

I am facing a serious issue with Joomla version 1.7. MySQL server has gone away I am using the shopping cart platform Virtuemart. When I placed an order, the order confirmation message page is ...
Jobin's user avatar
  • 1,505
20 votes
3 answers

Whats the correct way for exception handling?

In Joomla core I find still many calls like this: // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); ...
Harald Leithner's user avatar