• DaveRobison

    (@daverobison)


    The plug in is working, but I am getting messages on my dashboard at WordPress in the upper part of the page with these error messages.

    textdomain in D:\Hosting\2772443\html\wp-content\plugins\custom-background-changer\custom-background-changer.php on line 54

    Notice: Undefined variable: textdomain in D:\Hosting\2772443\html\wp-content\plugins\custom-background-changer\custom-background-changer.php on line 55

    Is there something that needs to be edited or updated in the plugin? Can I fix it in the editor or does it need to be done on your end?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • seanking2919

    (@seanking2919)

    Getting the same error as well.

    Notice: Undefined variable: textdomain in /home/sandiame/public_html/wp-content/plugins/custom-background-changer/custom-background-changer.php on line 54

    Notice: Undefined variable: textdomain in /home/sandiame/public_html/wp-content/plugins/custom-background-changer/custom-background-changer.php on line 55

    Same here:

    PHP Notice: Undefined variable: textdomain in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/custom-background-changer/custom-background-changer.php on line 54

    • This reply was modified 5 years, 11 months ago by maxlevel.

    Hi guys,

    Since it seems that the person behind this plugin has abandoned the project for the most part and not done an update in over a year, I decided to take it into my own hands to fix this. And I actually was easily able to. Here’s how to fix the textdomain error:

    1. Login using FTP or SFTP and go to the directory where the files for the plugin are: wherever_your_wordpress_installation_is/wp-content/plugins/custom-background-changer

    2. Open the custom-background-changer.php file in an editor like Notepad++

    3. Find all the spots in the code that say $textdomain and replace all of them with ‘custom_background_changer’.

    4. Delete the line stating $textdomain = ‘custom_background_changer’;

    5. Save changes to the file.

    And it should be no longer giving textdomain errors and hopefully, still working just fine.

    • This reply was modified 5 years, 8 months ago by seanking2919.
    • This reply was modified 5 years, 8 months ago by seanking2919.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Textdomain Error Messages’ is closed to new replies.