Author Topic: Warning: Attempt to assign property of non-object  (Read 7718 times)

mercomarine

  • Jr. Member
  • **
  • Posts: 129
    • Merco Marine
Warning: Attempt to assign property of non-object
« on: November 09, 2011, 21:30:05 pm »
I was trying to disable an editor I was trying to use the other day. Not sure if that caused my problem, but ever since then I get an error message that says "Warning: Attempt to assign property of non-object in /home/mysite/public_html/libraries/joomla/html/editor.php on line 309" And I am not able to make edits to at least two fields of my products (name or description)

I have since re-enabled "Editor - TinyMCE" under plugins and also checked to make sure it is set as the default Default WYSIWYG Editor under global config. Still not working.

This is a live site. >>>>>Major problem here as I will need to edit about 600 products here in about a month. <<<<<

I have looked for an answer in the forum, but every time i see something related to my problem, its 4 people saying they have the problem, and no one answering with a solution.

Im using Joomla Version 1.5.23
VirtueMart 1.1.9 stable 
Apache:
1.3.42
Curl:
7.15.5
MySQL
5.0.91
PostgreSQL
8.4.7
Python:
2.4.3
ImageMagic:
6.4.3
Program
Version
Perl:
5.8.8
PHP:
5.2.5
ionCube Loader:
3.1.31
Zend Optimizer:
3.3.3
phpMyAdmin
3.3.10.2
OpenSSL:
0.9.8e-fips-rhel5
Joomla Version 1.5.23
VirtueMart 1.1.9 stable
Apache: 1.3.42
MySQL 5.0.91
PHP: 5.2.5
phpMyAdmin 3.3.10.2

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: Warning: Attempt to assign property of non-object
« Reply #1 on: November 10, 2011, 20:33:11 pm »
DID you disable the tinymyce plugin?

YOu could try JCE editor

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mercomarine

  • Jr. Member
  • **
  • Posts: 129
    • Merco Marine
Re: Warning: Attempt to assign property of non-object
« Reply #2 on: November 10, 2011, 21:41:59 pm »
Thank you so much for your reply...

I have tried it several ways... I have disabled everything except for Editor - JCE. Also disabled everything except for Editor - TinyMCE. Both end with the same results. (get the "Warning: Attempt to assign property of non-object in..." error and not able to save changes to products) Then I tried - after enabling only one or the other - going into global config and making sure it is set as the default editor. Always when I go into global config, the only editor I have enabled under plugins is displayed as a choice, so i re-select it and even though it is already shown and hit save.

Also, I do have a sef component in use. I have tried to disable it and clear the catch. still no positive results.
Joomla Version 1.5.23
VirtueMart 1.1.9 stable
Apache: 1.3.42
MySQL 5.0.91
PHP: 5.2.5
phpMyAdmin 3.3.10.2

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: Warning: Attempt to assign property of non-object
« Reply #3 on: November 10, 2011, 21:43:45 pm »
do you have a backup?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mercomarine

  • Jr. Member
  • **
  • Posts: 129
    • Merco Marine
Re: Warning: Attempt to assign property of non-object
« Reply #4 on: November 10, 2011, 21:57:59 pm »
Long answer... My host can restore from up to 5 days. But this has been going on longer than 5 days... Other than that, i have old copies of all the site files that I downloaded thru filezilla... Which, doesn't include the database.

Short answer... not a really solid one.
Joomla Version 1.5.23
VirtueMart 1.1.9 stable
Apache: 1.3.42
MySQL 5.0.91
PHP: 5.2.5
phpMyAdmin 3.3.10.2

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: Warning: Attempt to assign property of non-object
« Reply #5 on: November 10, 2011, 22:16:13 pm »
akeebah backup is a MUST , download it.


what happens when you choose no editor?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mercomarine

  • Jr. Member
  • **
  • Posts: 129
    • Merco Marine
Re: Warning: Attempt to assign property of non-object
« Reply #6 on: November 10, 2011, 22:59:35 pm »
I know, tell me about it. I use to use akeebah but I tried to update it a while back and now when i try to use it i get an error that says "PHP 4.x, 5.0 and 5.1 is no longer supported by Akeebah Backup" Which, I believe is false because my php version is 5.2.5. Then... I never tried to fix it.

I have tried three more things. If i enable every editor, then go thru all the different ones one by one in global config. nothing changes, (by nothing changes i mean I'm still not able to make changes to the products) however, the error message does go away all together in both locations.

The second thing I tried is to do is have all the editors disabled including "Editor - No Editor" still... no changes... and the error message comes back.

The last thing I tried is to enable only the "Editor - No Editor" plug in. The error message goes away from the top of the page, but it still displays between the "Product Description:" box heading and the show/hide button for the description text box. But- Im still not able to save changes to product name, or description
Joomla Version 1.5.23
VirtueMart 1.1.9 stable
Apache: 1.3.42
MySQL 5.0.91
PHP: 5.2.5
phpMyAdmin 3.3.10.2

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: Warning: Attempt to assign property of non-object
« Reply #7 on: November 11, 2011, 12:53:32 pm »
you dont disable the plugins, you choose a default editor

JCE editor USES, and is built on tnymyce
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mercomarine

  • Jr. Member
  • **
  • Posts: 129
    • Merco Marine
Re: Warning: Attempt to assign property of non-object
« Reply #8 on: November 14, 2011, 13:22:39 pm »
Editor - No Editor
Editor - TinyMCE
Editor - XStandard Lite 2.0
Editor - JCE
Editor Button - Image
Editor Button - Pagebreak
Editor Button - Readmore
Editor Button - RokDownloads Link

I have all these enabled under plugins, and when I try to use any of them under global config, nothing works. I did notice if I try to change the product description and hit "apply" the product description box changes to "undefined" (using the Editor - XStandard Lite 2.0) But when I hit save and try to view the changes, it reverts back to what it said before the change.   
Joomla Version 1.5.23
VirtueMart 1.1.9 stable
Apache: 1.3.42
MySQL 5.0.91
PHP: 5.2.5
phpMyAdmin 3.3.10.2

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: Warning: Attempt to assign property of non-object
« Reply #9 on: November 14, 2011, 14:41:35 pm »
is mootools upgrade enabled?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mercomarine

  • Jr. Member
  • **
  • Posts: 129
    • Merco Marine
Re: Warning: Attempt to assign property of non-object
« Reply #10 on: November 14, 2011, 16:18:09 pm »
It was not enabled, however, I just enabled it and tried to see if it fixed my problem and it did not.
Joomla Version 1.5.23
VirtueMart 1.1.9 stable
Apache: 1.3.42
MySQL 5.0.91
PHP: 5.2.5
phpMyAdmin 3.3.10.2

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: Warning: Attempt to assign property of non-object
« Reply #11 on: November 14, 2011, 16:23:39 pm »
make sure you turn mootools upgrade back off.

ALSO, does this happen in all browsers?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mercomarine

  • Jr. Member
  • **
  • Posts: 129
    • Merco Marine
Re: Warning: Attempt to assign property of non-object
« Reply #12 on: November 14, 2011, 17:00:07 pm »
Well, Firefox and internet explorer do the same thing. (I use firefox most of the time) In google chrome, when i hit apply then save then go back in to edit the same product, the box i tried to edit is completely empty. However, when I close out chrome and open it back up, everything comes back up. but with no change.
Joomla Version 1.5.23
VirtueMart 1.1.9 stable
Apache: 1.3.42
MySQL 5.0.91
PHP: 5.2.5
phpMyAdmin 3.3.10.2

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: Warning: Attempt to assign property of non-object
« Reply #13 on: November 14, 2011, 18:49:55 pm »
can you edit joomla articles?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mercomarine

  • Jr. Member
  • **
  • Posts: 129
    • Merco Marine
Re: Warning: Attempt to assign property of non-object
« Reply #14 on: November 14, 2011, 19:25:20 pm »
Yes. I can edit articles, and even category pages inside virtue mart but I can't edit the product name, sku, short description, or long description. These are the only things I can not change as far as i know.

Let me ask you this. I've seen an error in a couple different components (simplelists and Akeeba Backup.)  saying "PHP 5.2.0 or older is not supported" However, I have php 5.2.5. I'm not sure why its doing that but, could this have something to do with the problem I'm having editing products?
Joomla Version 1.5.23
VirtueMart 1.1.9 stable
Apache: 1.3.42
MySQL 5.0.91
PHP: 5.2.5
phpMyAdmin 3.3.10.2