Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 15 Hours, 38 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

[SOLVED] Fatal error: Call to a member function display() on a non-object in ... editor.php
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [SOLVED] Fatal error: Call to a member function display() on a non-object in ... editor.php
#116
[SOLVED] Fatal error: Call to a member function display() on a non-object in ... editor.php 3 Years, 7 Months ago  
I have a small JavaScript in a Module that works in Joomla 1.5.3. When I try to make a translation of the Module in Joom!Fish v2 (Beta) I receive the following error:

Fatal error: Call to a member function display() on a non-object in /home/DOMAIN/public_html/modules/mod_sourcerer/elements/editor.php on line 93

The translation page stops loading. I renamed the above named file (editor.php) and tried again - this time, the translation page loading correctly and I was able to save and publish the translation. Unfortunately, the webpage does not show the module - instead (looking at the HTML source code) I see a message:

<!-- Sourcerer! Comment: The JavaScript has been removed, because JavaScript is not allowed here. -->

Is Sourcerer compatible with Joom!Fish?
Antonimo
Posts: 4
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#119
[SOLVED] Fatal error: Call to a member function display() on a non-object in ... editor.php 3 Years, 7 Months ago  
You can allow Sourcerer! to function within the JoomFish component. Please see the security settings of the Sourcerer! plugin...
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#182
[SOLVED] Fatal error: Call to a member function display() on a non-object in ... editor.php 3 Years, 7 Months ago  
Hi,

Thanks for the reply.

I have been testing with various settings and i still have the same problem.

I have enabled everything in the "System - Sourcerer!" Plugin and the same error is ocurring:

Fatal error: Call to a member function display() on a non-object in /home/DOMAIN/public_html/modules/mod_sourcerer/elements/editor.php on line 93

I have reduced the security levels and importantly, I have "enabled" in Components and Joom!Fish.

The module I am trying to translate is a Soucrerer Module
Antonimo
Posts: 4
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#183
[SOLVED] Fatal error: Call to a member function display() on a non-object in ... editor.php 3 Years, 7 Months ago  
Follow Up - I have no difficulty translating a Custom HTML module that contains Sourcerer php tags
Antonimo
Posts: 4
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#185
[SOLVED] Fatal error: Call to a member function display() on a non-object in ... editor.php 3 Years, 7 Months ago  
Sorry, I didn't quite understand your first post. I get the situation now.

Try changing this in the editor.php:

$editor = $editor->display...

to:
$editor_html = $editor->display...

and:
return $editor_before . $editor . $editor_after;

to:
return $editor_before . $editor_html . $editor_after;

Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#186
[SOLVED] Fatal error: Call to a member function display() on a non-object in ... editor.php 3 Years, 7 Months ago  
The layout is kinda screwed up, but that's because the Sourcerer Module is not a standard module. I'd have to right a new element plugin for JoomFish...
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#188
[SOLVED] Fatal error: Call to a member function display() on a non-object in ... editor.php 3 Years, 7 Months ago  
Hi - that did it!

As you mention, the layout is a little strange, but it is working.

Thanks.
Antonimo
Posts: 4
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
hosting joomla
MaxCDN | Content Delivery Network | Accelerate your site to the max
Open Source Training | Online Joomla! Training and Support