Startuplanding Template And Update To Joomla Version 4.x - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Startuplanding Template And Update To Joomla Version 4.x

K

kriss

Template 4 years ago

Hi

After Updating to Joomla 4.03 i have an Error:

Joomla 4 Error 0 Cannot Access Protected Property Joomla\cms\menu\menuitem::$params

As described in this Post: https://www.joomshaper.com/forum/question/6645

Please see the Credentials

Thanks and Regards Christoph

0
14 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #38360

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Here is the solution.

I have solved your issue following this process. It will help others.

Go to the file file location

templates/startuplanding/features/title.php

Find out this code

$params = $menuitem->params;

Change with this code

$params = $menuitem->getParams();

-Thanks

-1
K
kriss
Accepted Answer
4 years ago #40206

Thank you

Now it works!

Regards Christoph

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #40223

You are most welcome & Thanks. Will you please spend some time write a review about our support and product quality?

https://extensions.joomla.org/extension/sp-page-builder/

0
K
kriss
Accepted Answer
4 years ago #42132

Hi Toufiq

Yes. I would like to, but i have mixed feelings. Most of my Joomshaper template and page builder issues are bug related. One function works and after an update i have some strange effects. Support usually helps quickly and provides a fix. Sometimes I spend hours trying to solve the problem.

Sometimes there is unfortunately no answer from support.

See https://www.joomshaper.com/forum/question/7758 https://www.joomshaper.com/forum/question/5653

I like the Joomshaper Templates and the Page-Builder Component. There are so much Possiblities and cool Features. But sometimes i think, there is a level of complexity in the software that makes the whole thing prone to errors.

Sometimes I think less is more.

Best regards Christoph

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #42150

I have informed our teammate. I hope she will back to you soon. Thanks

0
S
ssnobben
Accepted Answer
3 years ago #71147

Hi

I have the same problem with SP Pagebuilder 4.0.0-RC.2 Helix Ultimate 2.0.9 Joomla 4.1.4

Please explain the fix.

Please explain the fix.

Here is code there /html/templates/shaper_helixultimate/features/title.php:

/**

defined ('_JEXEC') or die();

use Joomla\CMS\Factory; use Joomla\CMS\Uri\Uri;

/**

  • Helix Ultimate Site Title.

  • @since 1.0.0 */ class HelixUltimateFeatureTitle { /**

    • Template parameters
    • @var object $params The parameters object
    • @since 1.0.0 */ private $params;

    /**

    • Constructor function
    • @param object $params The template parameters
    • @since 1.0.0 */ public function __construct($params) { $this->position = 'title'; }

    /**

    • Render the logo features.

    • @return string

    • @since 1.0.0 */ public function renderFeature() {

      $app = Factory::getApplication(); $menuitem = $app->getMenu()->getActive();

      if($menuitem) {

       $params = $menuitem->getParams();
      
       if($params->get('helixultimate_enable_page_title', 0))
       {
      
           $page_title          = $menuitem->title;
           $page_heading        = $params->get('helixultimate_page_title_heading', 'h2');
           $page_title_alt      = $params->get('helixultimate_page_title_alt');
           $page_subtitle       = $params->get('helixultimate_page_subtitle');
           $page_title_bg_color = $params->get('helixultimate_page_title_bg_color');
           $page_title_bg_image = $params->get('helixultimate_page_title_bg_image');
      
           if($page_heading == 'h1')
           {
               $page_sub_heading = 'h2';
           }
           else
           {
               $page_sub_heading = 'h3';
           }
      
           $style = '';
      
           if($page_title_bg_color)
           {
               $style .= 'background-color: ' . $page_title_bg_color . ';';
           }
      
           if($page_title_bg_image)
           {
               $style .= 'background-image: url(' . Uri::root(true) . '/' . $page_title_bg_image . ');';
           }
      
           if($style)
           {
               $style = 'style="' . $style . '"';
           }
      
           if($page_title_alt)
           {
               $page_title      = $page_title_alt;
           }
      
           $output = '';
      
           $output .= '<div class="sp-page-title"'. $style .'>';
           $output .= '<div class="container">';
      
           $output .= '<'. $page_heading .' class="sp-page-title-heading">'. $page_title .'</'. $page_heading .'>';
      
           if($page_subtitle)
           {
               $output .= '<'. $page_sub_heading .' class="sp-page-title-sub-heading">'. $page_subtitle .'</'. $page_sub_heading .'>';
           }
      
           $output .= '<jdoc:include type="modules" name="breadcrumb" style="none" />';
      
           $output .= '</div>';
           $output .= '</div>';
      
           return $output;
      
       }

      }

    } }

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #71191

@ssnobben Please provide me the Joomla administrator access to check the issue. Thanks

0
S
ssnobben
Accepted Answer
3 years ago #71246

Hi Toufiq you can test the credentials in the hidden area here then if it work

thks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #71249

Super admin access, please.

0
S
ssnobben
Accepted Answer
3 years ago #71253

Ok Toufiq its fixed now try again Pls let me know when done..

cheers!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #71254

Our product issue solved. Now you need to contact easyblog extension provider or disable the easyblog extension. Thanks

0
S
ssnobben
Accepted Answer
3 years ago #71255

ok will check thsk

0
S
ssnobben
Accepted Answer
3 years ago #71256

What is the fix for this problem? Will it be updated for next update version?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #71338

Will it be updated for next update version?

no problem will be again.

0