node link error

dquez9
Forums
Hello. fairly new to Opigno. A node error keeps occurring on my LMS. When I attempt to click on the course name I receive a website error. Also below is what is shown in the log. Message EntityMetadataWrapperException: Unknown data property commerce_product. in EntityStructureWrapper->getPropertyInfo() (line 354 of /home/lmsteste/public_html/profiles/opigno_lms/modules/contrib/entity/includes/entity.wrapper.inc). Severity error Hostname 170.72.133.87 I have attempted to change the URL node for the course within the setting but no change occurred. The strange thing is that when I click on click to continue the course the link works and the lesson is shown. thanks for any assistance anyone can provide. Dan
Profile picture for user James Aparicio
James Aparicio

Hi dquez9,

Hi dquez9,

 

Seems related to the commerce feature. Maybe you added a price to a course (created a product) and then deleted the product from the admin interface. 

Try going to node/xx/edit and set the price as empty and save. Then add the price again.

 

Best regards

dquez9

James, I tried the steps.

James, I tried the steps. removing the price amount then adding back to the course / class. What is strange, under store/products, I am also unable to delete the store products. I think this may be a related error. I have also read online, that others that had this error cleared the apc cache directly. something like this: apc_clear_cache(); apc_clear_cache('user'); apc_clear_cache('opcode'); in my case, this one was related to users. In my case, could do the same against product/ecommerce?
Profile picture for user James Aparicio
James Aparicio

Try disabling apc to see if

Try disabling apc to see if its related.

Best regards

dquez9

well, more troubleshooting..

well, more troubleshooting...I deleted the class and course I had an issue with. Then created new class and course with no eCommerce associated. Worked until I added a price to the class and course. Back to the same error I was having before thanks
dquez9

fixed!

I was able to fix my issue by dumping the entire site and doing a fresh install. Including deleting my data base an building a new one. All is good and I'm using commerce seamlessly.