Messed something up, and now I can’t get into wp-admin
I solved the issue, by switching the theme in the database.
I solved the issue, by switching the theme in the database.
You are closing your function right after the $args array. You need to enclose properly function local_business_directory_register() { $args = array( ‘label’ => __(‘Business Directory’), ‘singular_label’ => __(‘Business’), ‘public’ => true, ‘taxonomies’ => array(‘category’), ‘show_ui’ => true, ‘capability_type’ => ‘post’, ‘hierarchical’ => true, ‘has_archive’ => true, ‘supports’ => array(‘title’, ‘editor’, ), ‘rewrite’ => array(‘slug’ => … Read more
I’m going to answer my own question, though I don’t understand.. yet. I’ll try to research further, and would like to see if someone else can explain. I overwrote the wp-admin/widgets.php file in one of the remote sites – which was created with a Softaculous script – with the same file from my development site, … Read more
Your initial idea is correct, WordPress shouldn’t look for index.php if it finds category.php for a category archive. However, that may change if you don’t have file permission and ownership set properly, or if FileSystem cache is messing with file_exists() check. Follow these steps: Make sure your child theme files are readable by the web … Read more
permission for files should be 644 and permissions for folders should be 755 Try changing permissions accordingly and see of anything changes.
The source of the problem was unchanged (or shall I say, “adjusted”) wp-config.php file in the site’s directory. The DB-name and DB-username there where both outdated. I changed them to the new ones and than I ran the command successfully.
It sounds like your theme is using deprecated PHP code functions, and those are causing the errors. Since the theme author is (at best) unresponsive, I’d suggest moving to a different theme.
Fatal error: Call to undefined function. Underscore me
The error message you’re getting tells you that your database settings aren’t working to create a connection. Did you change your wp-config.php? Check that first. Then check that the database server is running. Error: Error establishing a database connection. This either means that the username and password information in your `wp-config.php` file is incorrect or … Read more
You get the terms of directors_tv taxonomy, but try to get the next link in the context of directors taxonomy. You probably should use directors_tv in both places or rethink your DB structure as you can not use the same term id in the context of different taxonomies.