warnings pop up on the top of my site

  • Unknown's avatar

    Hi There,

    I’m admin for the site http://christroyalchapel.co.uk/ and a warning has popped up mention errors in code on certain lines. (Warning: Use of undefined constant style – assumed ‘style’ (this will throw an Error in a future version of PHP) in /homepages/3/d546455749/htdocs/clickandbuilds/Test/wp-content/themes/Thomas/functions/admin-setup.php on line 19

    ‘ Warning: Use of undefined constant churchthemes – assumed ‘churchthemes’ (this will throw an Error in a future version of PHP) in /homepages/3/d546455749/htdocs/clickandbuilds/Test/wp-content/themes/Thomas/functions/admin-setup.php on line 87 ‘

    I went to look at the code and the lines that it mention have errors are actually blank. Once i open the dashboard for http://christroyalchapel.co.uk/ the warning


    Warning: Use of undefined constant add_object_page – assumed ‘add_object_page’ (this will throw an Error in a future version of PHP) in /homepages/3/d546455749/htdocs/clickandbuilds/Test/wp-content/themes/Thomas/functions/admin-interface.php on line 323 ‘

    as with the other warnings, line 323 is empty.

    thanks in advance,
    TJ

  • Hi TJ,

    I’m afraid that your site is not hosted with WordPress.com. It is a site using the open-source WordPress software (from WordPress.org) but hosted with 1&1 Ionos.

    Because WordPress.com and WordPress.org are two entirely separate entities, we cannot access files or data for sites that are hosted elsewhere, so we can only assist with sites that are hosted on our servers. You can read more about the differences between WordPress.org software and WordPress.com here:

    WordPress.com vs. WordPress.org

    You can look for help at the community forums here: https://wordpress.org/support/forums/

    http://wordpress.org/support/ is also a great resource for sites using the open-source WordPress.org software.

  • The topic ‘warnings pop up on the top of my site’ is closed to new replies.