• My WordPress updated up to the most recent version, now I can’t access the site and I get the message

    Parse error: syntax error, unexpected T_STRING in /hermes/waloraweb040/b1486/moo.bellavitasnoqualmiec/wp-includes/functions.php on line 584

    I downloaded all the old files onto my computer just in case. I am guessing this might have something to do with the theme outdated so it is not compatible with the new version. I tried reuploading the functions.php file but it didn’t work. I need to keep the theme which was uploaded way back in 3.4, so how can I go about fixing this while keeping the current theme?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter jeremy_2729

    (@jeremy_2729)

    Update:
    Through ftp I tried disabling the plugins by renaming the file to plugins-hold then changing it back, that didnt work, tried renaming the file of the theme, it wouldnt go back to the default theme, so then I tried to go back to 3.4 and transferred all the files but it still says 4.1.
    I was able to get a new version of the theme that was just released: https://mysitemyway.com/theme/echelon-wordpress-theme/ but that didnt work. I dont know how I should get rid of these errors.

    Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /hermes/waloraweb040/b1486/moo.bellavitasnoqualmiec/wp-includes/functions.php on line 3378

    Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /hermes/waloraweb040/b1486/moo.bellavitasnoqualmiec/wp-includes/functions.php on line 3378

    Thread Starter jeremy_2729

    (@jeremy_2729)

    I would try disabling your your existing theme to themes/echelon.HOLD through FTP. Then try uploading a fresh version of the WordPress Twenty-Fifteen theme.

    If this resolves the issue then it is definitely theme related and you will need to contact your premium theme support to understand why the latest version of the Echelon theme is not compatible with the latest core update of WordPress.

    If this doesn’t resolve the issue then it is not theme related.

    Thread Starter jeremy_2729

    (@jeremy_2729)

    Thank you for the suggestion. That removed the error at the top of the page and now the site is just blank.

    Can you login to the WP dashboard now? I can see the login page at: https://www.bellavitasnoqualmie.com/wp-login.php

    I would try disabling all your plugins either through the dashboard or FTP (/wp-content/plugins.HOLD) now with the Twenty-Fifteen theme enabled.

    Thread Starter jeremy_2729

    (@jeremy_2729)

    For some reason the theme didn’t go back to twenty fifteen when I added -hold to the other folders, but I was able to set it as default in the site admin and now twenty fifteen is working, I also deactivated and activated the plugins.

    Great. Looks like you are back up and running, although with a different theme. Now would be the time to contact the echelon theme author about the error messages you have received since the most recent WordPress update. Hopefully they’ll release a theme update quickly and you can return back to your original site again

    Thread Starter jeremy_2729

    (@jeremy_2729)

    Thank you! Should I try uploading a new copy of the theme, or avoid risking that until I hear back?

    Thread Starter jeremy_2729

    (@jeremy_2729)

    I also noticed when I use any other theme other than twenty fifteen I get the same error, such as twenty eleven:

    Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /hermes/waloraweb040/b1486/moo.bellavitasnoqualmiec/wp-includes/functions.php on line 3378

    Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /hermes/waloraweb040/b1486/moo.bellavitasnoqualmiec/wp-includes/functions.php on line 3378

    Happy to help ?? That suggests the issue is not restricted to your theme.

    Coincidentally, WordPress 4.2 has just been released, which will contain bug fixes for the 4.1.1 security release. You could try updating from the WP dashboard and see if that resolves things.

    Thread Starter jeremy_2729

    (@jeremy_2729)

    I realized that all the default themes were still outdated.

    That may or may not be related. The thing to do would be to update them and test. In fact, having outdated themes or plugins in your WordPress installation, even if they are deactivated, is a definite security risk. Best practice is to either keep them updated, or to delete them if not in use or needed close to hand.

    Thread Starter jeremy_2729

    (@jeremy_2729)

    I have the site online and running at https://www.bellavitasnoqualmie.com/. It seems to be working just fine with the default theme I have going. It is not letting me upload the theme I purchased.

    I created a new directory under a different host and set up the exact same version of WordPress and was able to install the theme I am trying to use without any problems.

    I deleted all themes from the main site as well as plugins because the error that was coming up was regarding simple lightbox.

    A different error is only showing up when I view it on my mobile decide that says Use of undefined constant script_debug – assumed “script_debug’ in /hermes/waloraweb040/b1486/moo.bellavitasnoqualmiec/wp-includes/formatting.php on line 4144.

    So I am assuming that this is not something to do with my theme or plugins, maybe malware? I just have no idea how to fix this. Can I take the functions.php from my new wordpress site I set up to test and use it to override the file on the actual site?

    I suppose my other option is to just erase everything from the host and start fresh. I have a backup of the site with the bug. I am not 100% sure but cant I just restart over but upload my wp-content and that will keep all my pages and posts?

    So I am assuming that this is not something to do with my theme or plugins, maybe malware?

    No, this definitely doesn’t appear like a malware issue, and a Sucuri site scan shows your site as being malware free.

    It is not letting me upload the theme I purchased.

    Is this the zipped file of the theme you are navigating to and trying to upload? Have you deleted the old echelon theme directory that was set to echelon.HOLD? If so, then try unzipping the theme onto your desktop and uploading the unzipped theme folder into the /wp-content/themes/ directory using FTP. Then see if you can activate.

    A different error is only showing up when I view it on my mobile decide that says Use of undefined constant script_debug – assumed “script_debug’ in /hermes/waloraweb040/b1486/moo.bellavitasnoqualmiec/wp-includes/formatting.php on line 4144

    I also see that same notice when I view your site using the Firefox browser on a desktop device. Is that notice showing when you have all plugins deactivated and the Twenty-Fifteen theme activated? As this a notice rather than a warning or error (therefore not critical), you have the option to hide these messages through the wp-config.php file found in the same root directory where the wp-content and wp-admin directories are. Locate the file, take a backup, and then locate the line:

    define('WP_DEBUG', true);

    and set it to:

    define('WP_DEBUG', false);

    Or, if you cannot find that line insert it above the final That’s all … line:

    define('WP_DEBUG', false);
    
    /* That's all, stop editing! Happy blogging. */

    In future you can manually set this value to true when you want to debug a problem with your site, and so reveal any notices, warnings or errors, but set at false these messages don’t disturb your site visitors ??

    Thread Starter jeremy_2729

    (@jeremy_2729)

    I was able to do that, but in the dashboard I still see:

    not contain any of the following ‘=,; \t\r\n1314’ in /hermes/waloraweb040/b1486/moo.bellavitasnoqualmiec/wp-content/themes/echelon 2/lib/admin/functions/core.php on line 469

    Should I worry about that?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Site updated and how I cant access dashboard’ is closed to new replies.