Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jerror]

The tag has no usage guidance.

0
votes
1answer
66 views

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 ...
2
votes
2answers
37 views

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/www.elody.cz/www/tmp/htmlpaUI9p on line 1 ...
0
votes
1answer
200 views

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 ...
3
votes
2answers
693 views

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 ...
3
votes
1answer
560 views

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 ...
7
votes
2answers
495 views

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 ...
8
votes
1answer
727 views

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, ...
1
vote
1answer
2k views

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 ...
19
votes
3answers
7k views

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)); ...