Hi @greenshady.
I managed to solve the issue
“Warning: Invalid argument supplied for foreach() in /wp-includes/class-wp-theme-json.php on line 1439″
Also, reported by another user in https://www.ads-software.com/support/topic/multisite-using-stargazer/
The solution to change the theme’s function.php line 195 from
add_theme_support( 'editor-color-palette', '#cc4a00', '#252525', '#2d2d2d', '#ffffff' );
to
add_theme_support( 'editor-color-palette', array(
array(
'name' => esc_html__( 'Orange Burn', 'stargazer' ),
'slug' => 'burntOrange',
'color' => '#cc4a00' ),
array(
'name' => esc_html__( 'Raisin Black', 'stargazer' ),
'slug' => 'raisinBlack',
'color' => '#252525') ,
array(
'name' => esc_html__( 'Charleston Green', 'stargazer' ),
'slug' => 'charlestonGreen',
'color' => '#2d2d2d' ),
array(
'name' => esc_html__( 'White', 'stargazer' ),
'slug' => 'white',
'color' => '#ffffff' ) )
);
Bests Lena
]]>Hi @greenshady
In order to fix the following error in PHP 8.1:
PHP Warning: The magic method Hybrid_Registry::__wakeup() must have public visibility in wp-content/themes/stargazer/library/inc/class-registry.php on line 68
I changed the line 68 from:
private function __wakeup() {
}
to
public function __wakeup() {
}
]]>
Hi @greenshady
Thanks for the great themes.
I use stargazer and it’s child themes with PHP8.1.
I noticed that I get many PHP Warnings like the following:
PHP Warning: compact(): Undefined variable $… in /wp-content/themes/stargazer/library/ext/get-the-image.php on line 298
After a bit of searching I found the the behavior of the compact() function has changed. Before PHP 7.3, any strings that are not set will silently be skipped. (https://www.php.net/manual/en/function.compact.php).
Do you have any idea for a workaround, in order to avoid the PHP Warnings?
Thanks in advance
Lena
I am working with a WordPress multisite client that uses the “Stargazer” theme v4.0.0 for two of the mutisite nodes. On both of these sub-sites, we are seeing a PHP Warning message:
“Warning: Invalid argument supplied for foreach() in /srv/users/peterbrice/apps/rural-transit-com/public/wp-includes/class-wp-theme-json.php on line 1091”
Though this message does not directly implicate the “Stargazer” theme, I’ve found that if I apply this theme to other nodes of the multisite, then they start displaying this Warning message too.
So if you could please look into this, hopefully there is an easy fix.
]]>Hi, I wanted to warn that the theme has problems with Gutenberg, it is impossible to use it (errors in the blocks).
Will you release an update or have you abandoned the project?
]]>Apparently the mobile menu disappears when using Jetpack plugin.
To fix this issue, use the following CSS in your child theme or any edit css option you have
.screen-reader-text.font-secondary {
clip-path: none !important;
position: inherit !important;
height: inherit !important;
}
And if someone has a better fix, do suggest. For now, this works.
]]>Google Search Console complains that breadcrumbs in the Stargazer do not contain an “item” property. To fix this, I suggest changing this…
stargazer/library/ext/breadcrumb-trail.php line 193
// Check if the item is linked.
preg_match( '/(<a.*?>)(.*?)(<\/a>)/i', $item, $matches );
// Wrap the item text with appropriate itemprop.
$item = !empty( $matches ) ? sprintf( '%s<span itemprop="name">%s</span>%s', $matches[ 1 ], $matches[ 2 ], $matches[ 3 ] ) : sprintf( '<span itemprop="name">%s</span>', $item );
To this…
// Check if the item is linked.
preg_match( '/<a (.*?)>(.*?)<\/a>/i', $item, $matches );
// Wrap the item text with appropriate itemprop.
$item = !empty( $matches ) ? sprintf( '<a %s itemprop="item"><span itemprop="name">%s</span></a>', $matches[ 1 ], $matches[ 2 ] ) : sprintf( '<span itemprop="name">%s</span>', $item );
]]>
For years my client has posted a story of the month and a poem of the month with a corresponding picture with each post. For the last few months the pictures either do not post, or appear next to the wrong listing.
Is there any way she can correct this?
I added (and deleted) a test post and got the same results she did.
Thank you for you help.
Tara Rothman
PHP 7.3.3
1) Upload video to your own server
2) Insert video in the post
3) Do not associate poster (video without poster)
4) The result is
Notice: compact(): Undefined variable: post_id in https://xxxx.xxx/wp-content/themes/stargazer/library/ext/get-the-image.php on line 298
Note: the error does not appear if the PHP version is less than 7.3
]]>I tried updating the header.php file text to include my GA code and now the entire file is gone. Can someone provide so I can reenter and save?
]]>JetPack: 6.8.1
Wordpress: tests with 4.9.9 and 5.0.2
Theme: Stargazer 4.0.0
1) JetPack deactivated or Development Mode (tests in server local): View image 1.
2) JetPack activated: Mobile menu disappeared. View image 2. It does not matter which modules are active.
]]>I’m using the Stargazer theme from Elementor. I noticed that before I edited each individual page, the menu would appear on my mobile device. However, after I edit the page, it then disappears from ever showing up again on my mobile and tablet views. One other thing, when I’m looking at the mobile view on my phone, if I blindly click in the area where I think the menu is, one appears. However, people will not know to click there or that a menu even exists.
PLEASE HELP! ??
]]>stargazer theme doesnt work or let load WP Dashboard if you use it with PHP 7.2 , any fix available?
]]>Hey all,
So I have a blog using stargazer, and I have an issue with showing images with descriptions. I want them to be below the image and not on top of them. I attached an image of the issue.
thanks in advance
]]>As per title. I can’t find where I can disable the Categories, tags and meta widgets on the blog posts. Can anyone point me in the right direction?
]]>Hello!
I am using Stargazer with a child theme. After updating parent yesterday, tge contact form shows some warning notice on front end which I cannot remove!
This is the exact wording:
Notice: Undefined index: default in /mnt/web013/b0/76/54057176/htdocs/WordPress_01/wp-content/plugins/contact-form-plugin/contact_form.php on line 2465 Notice: Undefined index: default in /mnt/web013/b0/76/54057176/htdocs/WordPress_01/wp-content/plugins/contact-form-plugin/contact_form.php on line 2493 Notice: Undefined index: default in /mnt/web013/b0/76/54057176/htdocs/WordPress_01/wp-content/plugins/contact-form-plugin/contact_form.php on line 2521 Notice: Undefined index: default in /mnt/web013/b0/76/54057176/htdocs/WordPress_01/wp-content/plugins/contact-form-plugin/contact_form.php on line 2534 Notice: Undefined index: default in /mnt/web013/b0/76/54057176/htdocs/WordPress_01/wp-content/plugins/contact-form-plugin/contact_form.php on line 2567 Notice: Undefined index: default in /mnt/web013/b0/76/54057176/htdocs/WordPress_01/wp-content/plugins/contact-form-plugin/contact_form.php on line 2656
I already changed the shortcode to the new one, still this message appears
I really appreciate your help,
A. Schumacher
I have wp version 4.7.2 installed en Stargazer with Material gaze child.
I got the following message:
Notice: _usort_terms_by_ID is deprecated since version 4.7.0! Use wp_list_sort instead. in /home/myaccount/domains/mydomain.com/public_html/wp-includes/functions.php on line 3828
What does it mean?
]]>Hello,
I used this tutorial to create a two column form using Contact Form 7: https://www.wpsnippet.com/create-a-two-column-form-using-contact-form-7/
With Graphene Theme, for instance, it worked. However, with Stargazer it’s not working. Form is shown one column and unchanged. How can I create a two column form?
Best
]]>Hi there
Does anyone use a widget with 4.6.1 and Stargazer that removes the page titles?
]]>I’m using the child theme Mixr and the blockquotes are formatted really oddly: they automatically insert an open quotation at the beginning of every paragraph and a close quotation at the end of the quote, like so:
“This is the first paragraph.
“This is the second paragraph.
“This is the final paragraph.”
They aren’t the big images of quotation marks that some themes use; they’re just regular text quotation marks. How can I get rid of them?
]]>Hi
I’d like the header image to appear ONLY on the home page. Is this possible ?
I am new to WordPress. I do know some CSS and HTML. I have created my new website, using the Stargazer theme, which I really like.
However, I would like to reduce the body text font size. I know that I can, should do this with either a child page or a CSS plugin. Since I only want to tweak the font size, it seems that using a CSS plugin might be the way to go.
1. Any suggestions about which CSS plugin I should use.
2. I have looked at the style.css file, but I am not sure which element sets the body text font size. Has anyone changed the size? I have search google and have not found a solution.
]]>Hi, I just started using the Buntu child theme of Stargazer and would like to disable mobile view. I want my site to look just like the desktop version on people’s phones. I don’t like the mobile version at all.
Can someone please tell me the easiest way to disable it in this theme?
Thanks!
]]>Is this possible? Having the header image on content pages seems to waste a fair amount of space. Thanks.
]]>Hi, is there simple CSS code which can take away preset logo size, as this theme does resize logo to its own size and my logo needs to be a bit bigger.
Cheers!
]]>Hi everyone!
Is there CSS code to show header image on mobile version as well ?
https://www.koralli.net/kansio/
Cheers!
mrblues
]]>Hi everyone!
I use only the secondary menu on the website that I′m making at the moment, is there some CSS code to use that as well as mobile menu. At the moment mobile version uses primary menu and it is bad as site logo is centered and it is shown over the menu?
]]>Problems with the floating menu mode, since the last update of the stargazer is now central menu and not the leftmost (Polymer Theme).
]]>Hi, i have this problem with the theme for mobile version: i’m no expert and i do not know how to solve it, i wish i had 100/100 on Google PageSpeed Insight, how could i solve the site-link? I am now using the image of the head as its logo and not the actual logo, because i do not know how to replace the logo text format with the logo image format, thanks for the help.
]]>Good evening, i’m having problems with the social media icons, since the menu of icons fb, twitter, google+ come out peacefully, but that of the RSS feeds does not come out, how can I get it out? Thank you.
]]>