• I tried logging into my site that I host for this client and I am getting this error below:
    #######################################################################################
    Parse error: syntax error, unexpected ‘new’ (T_NEW) in /home/betwoonecare/public_html/wp-content/themes/Builder/lib/builder-core/init.php on line 70

    ######################################################################################

    Below is line 70. What is the correct code to insert. I get the idea that they need to replace it because it has become depreciated due to the upgrade of PHP. Th issue is this piece here: ” =& new ITCache”

    $GLOBALS[‘builder_cache’] =& new ITCache( ‘builder-core’, array( ‘enable_file_cache’ => $file_cache ) );
    Thanks,
    Chris

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

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

    (@t-p)

    Your currently active Builder theme seems to be the error.

    This may also allow you immediate access to your dashboard.

    Since you use a commercial theme or plugin and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations: https://themeforest.net/item/builder-building-construction-wordpress-theme/12512410

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.

    Commercial products are not supported in these forums.

    If you need immediate access to dashboard, try to access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename or delete the directory of your currently active theme. That will force your site to use the default theme (Twenty Twenty-one, etc.).

Viewing 1 replies (of 1 total)
  • The topic ‘Logging into the WP admin and geting errors’ is closed to new replies.