If your web host has upgraded PHP to version 7.2, and you are using the Madeini theme, you will get messages like this in the beginning of every page of your website, and you won’t even be able to access the administration interface on /wp-admin:
“Warning: Use of undefined constant madeini – assumed ‘madeini’ (this will throw an Error in a future version of PHP) in /var/www/example.com/public_html/wp-content/themes/madeini/functions.php on line 371
Warning: Use of undefined constant madeini – assumed ‘madeini’ (this will throw an Error in a future version of PHP) in /var/www/example.com/public_html/wp-content/themes/madeini/functions.php on line 380
Warning: Use of undefined constant madeini – assumed ‘madeini’ (this will throw an Error in a future version of PHP) in /var/www/example.com/public_html/wp-content/themes/madeini/functions.php on line 381
Warning: Use of undefined constant madeini – assumed ‘madeini’ (this will throw an Error in a future version of PHP) in /var/www/example.com/public_html/wp-content/themes/madeini/functions.php on line 382
Warning: Use of undefined constant madeini – assumed ‘madeini’ (this will throw an Error in a future version of PHP) in /var/www/example.com/public_html/wp-content/themes/madeini/functions.php on line 383
Warning: Use of undefined constant madeini – assumed ‘madeini’ (this will throw an Error in a future version of PHP) in /var/www/example.com/public_html/wp-content/themes/madeini/functions.php on line 394
Warning: Use of undefined constant madeini – assumed ‘madeini’ (this will throw an Error in a future version of PHP) in /var/www/example.com/public_html/wp-content/themes/madeini/functions.php on line 395
Warning: Use of undefined constant madeini – assumed ‘madeini’ (this will throw an Error in a future version of PHP) in /var/www/example.com/public_html/wp-content/themes/madeini/functions.php on line 396”
The solution is simple: Every occurrence of the plain word “madeini” on the 8 mentioned lines in the file /wp-content/themes/madeini/functions.php should be changed to “‘madeini'” (e.g., adding a single quote before and after madeini). The functions.php file can be accessed via FTP.
I just did this on one affected website, and the website works perfectly now.
If the developer of madeini is still present, they could also correct this, of course.
But even if this is fixed by the original developer, anyone who already has the problem will likely still have to go through FTP to fix it, as they cannot even access the admin interface to update the theme.
]]>I don’t like the green under color on the Navigation menu with the Madeini theme.
How can I change it?
You can see it not only looks awful on my site, but is not readable given my green background.
Here is my address: https://www.shiningourlightonearth.com
I have little idea of how to use code, but am learning from you great people.
]]>Hi!
I was directed to this forum by my hosting provider who could not help me. When I am logged in as admin in WordPress I can see all of the changes made to my site. But when I am logged out using a different browser, or when other people look at my site, it looks like an old outdated version. I just started having this issue today. I already tried deleting or emptying my cache, doesn’t work. My hosting provider thinks there may be a problem with the theme as there are no problems with my actual site. I don’t know if this makes a difference but I did move my site yesterday from another domain to this current one…
my site is https://www.srcgraphics.com
Thanks!
]]>hi, good morning, my question is where can i change the slide image, thanks…
]]>