Travus - Cannot Access Protected Property Joomla\CMS\Menu\MenuItem::$params - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Travus - Cannot Access Protected Property Joomla\CMS\Menu\MenuItem::$params

M

Michael

Template 3 years ago

Hi guys,

On my 'LOCAL' TEST server (this is not live so I can not supply login details :

I tried to update Travus - from 3.10.10 to J4.1.5 , as your SITE says - this Template is J4 compatible.

The back end is working... and I have GREEN ICONS for all my Notifications - and I have updated the SP Page Builder... to - com_sppagebuilder_pro_v3.8.7

But on the frontend - the site does NOT work after updating .... I get this error: Cannot access protected property Joomla\CMS\Menu\MenuItem::$params

Helix is: System - Helix Ultimate Framework Site Plugin 2.0.10

Why is the site NOT working after updating ?

Thanks,

Syco

0
30 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #75914

Hello Michael

Please take a full site backup with Akeeba Backup in ZIP format and share here. Follow this tutorial

Best regards

0
M
Michael
Accepted Answer
3 years ago #75990

Hi Ofi,

I have sent you 2x Joomla files.

  1. One file is - 'PRE' the J4 update - which is in JPA format, (Joomla 10.x)
  2. The second file is a back up AFTER I did the J4 update.
  3. I have also attached 3 x screen shot images... so you can see what I get after doing the J4 update.

This is my 1st attempt at moving all my sites over from J3 to J4, using your Template file. I have hardely edited themplate.

look forward to your assistance !!!

thanks in advance !

Michael

0
M
Michael
Accepted Answer
3 years ago #76294

Any luck yet?

I have a few more SP sites I need to do... an I would like to know if this occurs again, what you did to fix the issue?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76336

Sorry, I can't see the files. Please share a public link. Also, take the backup in ZIP format and then share. Go to Akeeba Backup Configuration and set backup file type as zip. Then take the backup and share.

0
M
Michael
Accepted Answer
3 years ago #76380

I did share it?

You said:

When I click on he link I sent it works?Please share a public link. Also, take the backup in ZIP format and then share. Go to Akeeba Backup Configuration and set backup file type as zip. Then take the backup and share.

I did in the hidden field ! I also checked th link I sent it and it works?

I have shared the Akeeba Backup Configuration and set backup file type as zip. I checked the link in the hiddden content and it takes me to the folder?

Try the new link.... otherwise, Please provide a different way to send it to you then...

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76533

You have sent two files in jpa format. Please send the backup in ZIP format. Please follow this tutorial: https://drive.google.com/file/d/16fMwHR2ZAa3yctnP5rn7zm6YlwB7ijQj/view?usp=sharing

0
M
Michael
Accepted Answer
3 years ago #76660

I sent both... here it the ZIP again.

FYI - Also, for your reference, Akeeba recommmend using JPA files in front of ZIP. They have a tool to extract JPA files called Akeeba eXract Wizard, that allows you extract JPA files on your local computer.

Akeeba eXract Wizard. I have version 4.0.5.20689.

Not sure if this is still available though.

Cheers,

Michael

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76679

Thanks for the file. Please download Travus template version 2.0.0 and install on your site. It will solve the issue.

0
M
Michael
Accepted Answer
3 years ago #76685

Hi Ofi,

I've already have tried that... and it didn't work. :(

Can you please try that on your end (install V.2) and test it... then re-zip the tested file for me to download... and then retry on my end?

Thanks in advance.

Best regards,

Michael

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76727

I have checked in my localhost. It works fine. Here is the Akeeba Backup (in the hidden content)

0
M
Michael
Accepted Answer
3 years ago #76737

Thanks... I will give it a try !!!

Much apprecatied.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76743

You are welcome 😊

0
M
Michael
Accepted Answer
3 years ago #76877

Hi Ofi,

I'm not sure what you did on your end... but the file you sent me... has worked !!!

Thanks for your help. I still have a few more SPPB sites to update to J4.

If I get the same problem... I'll let you know.

Once again, thank you !!!

Cheers,

Michael :)

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76880

You are welcome 😊

Thanks for accepting the answer.

0
M
Michael
Accepted Answer
3 years ago #79780

Hi Ofi,

Hope you are well.

I just tried to update another site to J4 (Template - Manufacturer) ... and got the same error I got when I did the Travus template.

You didn't tell me what you did last time to fix the issue...

Can you let me know how you fixed it, ... or can I send you a ZIP of this site so you can take a look?

... oops I just check your web site... and it seems - Manufacturer - is not J4 compatible yet.. is that correct and if so... how long before it will be?

Best regards

Michael

PS: I found this in the Joomla Documentation

Potential backward compatibility issues in Joomla 4

JMenuItem

  • You can no longer retrieve the params property from JMenuItem directly. Use the getParams() method instead (available since Joomla 3.7) JMenuItem::set and JMenuItem::get have been removed. Properties must be explicitly named There is now a AdministratorMenuItem class which extends from MenuItem that contains extra public properties used for the Administrator menu item.*
0
M
Michael
Accepted Answer
3 years ago #79854

Hi Ofi,

I also tried to update a 3rd site the uses the 'Onepage' template, which is J4 compatible, - on my localhost (MAMP)... it's Joomla 3 Ver 3.10.10, then when I do the J4 update, it comes up with :

FatalError HTTP 500 Whoops, looks like something went wrong.

/Applications/MAMP/htdocs/vhs/templates/shaper_onepage/error.php:28

Compile Error: require_once(): Failed opening required '/Applications/MAMP/htdocs/vhs/libraries/joomla/document/html/renderer/head.php' (include_path='.:/Applications/MAMP/bin/php/php7.4.2/lib/php')

Line 28 require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');


Why are there some many issues when updating to J4? (Grrrrr)

Cheers,

Michael

PS > So sad to see SPPB V4... has no backend editor... as I have had continuing issues with Frontend editing... and only use the Backend Editor ! Seems so MANY of your customers are unhappy as well. I hope your managment team quickly reaccess this decision... and hopefully continue the development of SPPB V3, allowing backend editing !

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #80074

I can understand your situation. Since upgrading to Joomla 4 is a major upgrade, it will cause some issues. I have updated Template version to the latest. Thus I solved the issue.

Sorry, backend editor is not coming back. Adapting a new sytem is difficult. We understand that. We are trying our best to improve the frontend editing experience. Just spend some time and you will get used to it.

0
M
Michael
Accepted Answer
3 years ago #80245

Hi Ofi,

Thank you for your reply.

By any chance... can I send you the ZIP of these 2x sites... as I am still having no luck with them going to J4, and I have no idea where I should make changes to make this work !!!

I don't use any other 3rd party components other than Akeeba Back up and Admin Tools.

If you can ... how would you like me to send it to you?

Thanks in advance.

Best regards,

Michael

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #80278

okay, sure. Share it through any drive like Google Drive, One Drive etc. Also, export the database and send it too. I will check and reply to you.

0
M
Michael
Accepted Answer
3 years ago #80450

Ok, thanks Ofi

Details Hidden

Both sites have the databases included

0
M
Michael
Accepted Answer
3 years ago #80451

Hi Ofi,

Thank you !!! :)

Details below

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #80455

I will need your database to check. Please export the database and share the SQL file.

0
M
Michael
Accepted Answer
3 years ago #80700

Here you go... 2 sites !

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #80742

I have successfully installed the backups on my localhost. But there is no error shown on any of these.

0
M
Michael
Accepted Answer
3 years ago #80790

Ok... thanks.. that's weird.

So you have them both working under Joomla 4?

Can you please backup with Admintools and ZIP them on your side... and allow me to download and reinstall your backup that's working on my end. Link for Googledrive or Dropbox would be great.

Sorry, but I just want to see if something has changed for it work on your end?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #81021

Basically, I did not do anything. It is the same files that you have shared. I have just installed it on my lcoalhost. These templates will not work on Joomla 4. They are not compatible. You have to wait for our template update for these templates.

0
M
Michael
Accepted Answer
3 years ago #81122

But the information on your DEMO website... and downloading info... for ' Onepage', says it is J4 compatible? There is a J4 quickstart demo pack you can download from you site?

I noticed Manufacturer - is not J4 compatible yet.. so... how long before it will be?

But Onepage is J4...? Which is the 'VHS back up file' I sent you.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #81152

Oh sorry, I thought Oneclip template. Onepage template is compatible with Joomla 4. You can upgrade it to Joomla 4.

0
M
Michael
Accepted Answer
3 years ago #81163

I know it's J4 compatible... and I tried and got errors and issues, that's why I was asking if you could update what I sent you... to J4 and see if you get the same issues.

And if it works OK on your end... could you please BACKUP the J4 version , so I can download and try it again on my end?

Thanks in advance !

Michael

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #86456

Please try on your localhost and check for the issues. Then try on your hosting.

0