Background of the issue:
I am trying to configure the default flag format in WPML on my site hidden link. I see a warning message between 'Default flag format' and 'Language switcher options'. The warning message is related to an undefined property in the Astra theme's extras.php file.
Symptoms:
Warning: Undefined property: stdClass::$menu_id in /home/httpd/vhosts/variaduna.com/variaduna.com/wp-content/themes/astra/inc/extras.php on line 508 and line 546
Questions:
How can I resolve the undefined property warning in the Astra theme when configuring WPML?
While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.
It could be that it only appears on that page but actually still happens, can you check other backend random pages/settings and see if the message still happens?
If not, are there any specific steps or settings needed for this error to appear? That way we can check from our side.
thanks he info. I would like to check your settings. Therefore, I would like to request temporary access (wp-admin and FTP) to your site so I can take a better look at the issue. It would be better to a testing site where the issue is replicated.
You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.
IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link