• Resolved igordr

    (@igordr)


    Hello,

    I fully established website in form of a magazine. I have encountered recently very awkward situation. After hitting update button I got blank admin page showing 500 error.
    https://i.imgur.com/fqqvuD6.png – This is how it appears when Braxton theme is activated. When any other takes place wp-admin can be accessed.

    Website is 3 years old and during that time it has been regularly maintained. All plugins are up to date and platform itself. Braxton theme is used, the latest version and paid of course. What I have found is that admin panel appears when I use any other theme than Braxton. However, my users are used to Braxton interface and I would like to keep it.

    Official Braxton support is not interested in providing any kind of help. Replies I get from him are to deactivate all plugins, install the latest version of the theme even though I have mentioned already that everything is done.
    https://i.imgur.com/ABVeKzM.png – Plugins deactivated
    https://i.imgur.com/BbzFpLI.png – Support closing the topic after giving “automated” response, just to postpone the next one.

    Here is the error when I leave true for debugging mode.

    Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/vhosts/site.net/httpdocs/wp-includes/functions.php on line 3787 Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/vhosts/site.net/httpdocs/wp-includes/functions.php on line 3787 Notice: Undefined index: enableMultiple in /var/www/vhosts/site.net/httpdocs/wp-content/plugins/menufication111/menufication.php on line 102 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /var/www/vhosts/site.net/httpdocs/wp-includes/functions.php on line 3619 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in /var/www/vhosts/site.net/httpdocs/wp-includes/meta.php on line 844

    Please note that I would not post here If I had not tried a variety of solutions.
    Every help is welcome.

    Best regards,
    Igor

Viewing 15 replies - 1 through 15 (of 15 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Fifteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). If you don’t have access to your admin area, use FTP , or your web-host’s cPanel or whatever file management application your host provides. Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    – If all the above steps do not resolve the issue, then try MANUALLY updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Read the Manual Update directions first.

    Thread Starter igordr

    (@igordr)

    Hello,

    Thanks for the reply. I have tried everything above. The key is that the website admin works just fine when I use any other theme than Braxton one. Only when is Braxton activated I get 500 internal error. Problem is that users are used to that theme and I cannot change it.

    I would appreciate your help.

    Thanks,
    Igor

    Moderator t-p

    (@t-p)

    The key is that the website admin works just fine when I use any other theme than Braxton one. Only when is Braxton activated I get 500 internal error. Problem is that users are used to that theme and I cannot change it.

    – This means your Braxton theme has some issues.
    – Unfortunately there is no “Braxton” theme in the WP free theme directory:
    https://www.ads-software.com/themes/search/Braxton/
    – These forums are for free themes available in the WordPress theme directory at www.ads-software.com/themes/. So please contact the developer/vendor directly for support with your question. You’ll be more likely to find a good answer from them, for they have the access to its code. Forum volunteers are not given access to commercial products, so they would not know why your /custom/commercial theme or plugin is not working properly. The developers/vendors are responsible for supporting their custom/commercial product. See https://codex.www.ads-software.com/Forum_Welcome#Commercial_Products

    Thread Starter igordr

    (@igordr)

    Hello,

    Yes but the author does not tries to help actually. You can see my screenshot from the first post. The only way is to ask community to help me.

    Here is complete functions.php if someone can take a look.

    [Large code excerpt removed by moderator per forum rules. Please use Pastebin for all large code excerpts. It works better anyway.]

    Thread Starter igordr

    (@igordr)

    Hello,

    I have sent the author the short video of the problem. Please take a look and let me know do you have any thoughts?
    https://vid.me/6Utj

    Thanks in advance,
    Igor

    @igordr

    In the functions.php, remove the “?>” from the very bottom of the file, as well as any blank space,

    You cursor should not go any further than right behind this code => add_theme_support( ‘woocommerce’ );

    Then update the file.

    Thread Starter igordr

    (@igordr)

    Hello Neo,

    Thanks for you help but it didn’t work.
    Here is my full functions.php code, I have the part for displaying g ads.

    [Large code excerpt removed by moderator per forum rules. Please use Pastebin for all large code excerpts. It works better anyway.]

    Again…

    You left the “?>” and space at the bottom of the functions file. Remove them.

    Thread Starter igordr

    (@igordr)

    Hello,

    Please check the screenshot. I have removed that part and the same again.
    https://i.imgsafe.org/eb18634.png

    Here is the full function.php
    https://pastebin.com/01XJunTf

    I appreciate every help.

    Thanks,
    Igor

    Actually, you removed the “curly bracket” “}” below return implode( ”, $paragraphs ); too…
    which you shouldn’t have.
    It is part of the above code.

    Remove only the “?>” at the bottom.

    And replace the “curly bracket” “}” below return implode( ”, $paragraphs );
    …with no space below the “curly bracket” “}”.

    Thread Starter igordr

    (@igordr)

    Hi,

    Thanks for your help, I really appreciate it.
    Anyhow, it does not work still.
    This is the last line of my code:

    return implode( '', $paragraphs );}
    No enter below or additional space.

    I still get the error:
    Notice: wp_register_style was called incorrectly.

    Any other advice?

    Many thanks,
    Igor

    Sorry.. I must default to what Tara posted above. As this is a premium theme, support must come from the developer. Forum Welcome > Commercial Products

    Thread Starter igordr

    (@igordr)

    I knocked on that door after I had tried to do everything in my power, but no luck. Actually, the developer seems uninterested for this problem.

    If anyone could point me what to do next I would appreciate that.

    Neo, thank you.

    I will say one last thing here…
    After watching your video, it seems like you have two installations of the Braxton theme.
    Remove (delete) them both.
    Download a fresh copy from where you got it.
    Upload it and activate it.
    Then, you can go from there.

    Thread Starter igordr

    (@igordr)

    Thank you Neo.

    Just to inform others, php memory limit was the problem. php.ini file.

    Regards,
    Igor

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘WP 4.4 admin 500 error after update – Braxton theme’ is closed to new replies.