Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[slugs\admin.php] Trying to get property 'name' of non-object in (..)\qtranslate-xt-3.15.2\src\modules\slugs\admin.php on line 578 #1396

Open
emersonajr opened this issue Feb 22, 2024 · 1 comment · May be fixed by #1398
Labels

Comments

@emersonajr
Copy link

Describe the bug
This Notice message appears on the Dashboard > Posts List page:
Trying to get property 'name' of non-object in C:\home\site\wwwroot\wp-content\plugins\qtranslate-xt-3.15.2\src\modules\slugs\admin.php on line 578

To Reproduce
Steps to reproduce the behavior:

  1. Go to Dashboard > Posts List;
  2. This Notice message will appear on top of the page: "Trying to get property 'name' of non-object in C:\home\site\wwwroot\wp-content\plugins\qtranslate-xt-3.15.2\src\modules\slugs\admin.php on line 578"
  3. That's it.

Expected behavior
No notice warnings.

Debug info
Versions:
{
"PHP_VERSION": "7.4.30",
"WP_VERSION": "6.4.3",
"QTX_VERSION": "3.15.2",
"Plugins": [
"3D FlipBook : Dflip Lite 2.2.32",
"AddToAny Share Buttons 1.8.9",
"Admin Menu Editor 1.12.1",
"Advanced Custom Fields PRO 6.2.6.1",
"Advanced Database Cleaner 3.1.4",
"Editor clássico 1.6.3",
"Contact Form 7 5.8.7",
"Contact Form Submissions 1.6.4",
"Debug Log Manager 2.3.1",
"Drag and Drop Multiple File Upload - Contact Form 7 1.3.7.5",
"Yoast Duplicate Post 4.5",
"Headers Security Advanced & HSTS WP 5.0.30",
"Menu Swapper 1.2",
"Popup Maker 1.18.2",
"qTranslate-XT 3.15.2",
"Redirect Redirection 1.2.1",
"Regenerate Thumbnails 3.1.6",
"Responsive Lightbox & Gallery 2.4.6",
"Rank Math SEO 1.0.213",
"Server IP & Memory Usage Display 2.1.0",
"Ultimate Posts Widget 2.3.1",
"WP Debugging 2.11.22",
"WP File Manager 7.2.2",
"WP Mail SMTP 3.11.1",
"WordPress Manutenção 1.0.7",
"WP-PageNavi 2.94.1",
"Redirection for Contact Form 7 3.1.2",
"wpDiscuz 7.6.15",
"WPFront User Role Editor 3.2.1.11184",
"Google XML Sitemaps Generator 1.8.2"
]
}
Configuration:
{
"default_language": "pb",
"enabled_languages": [
"pb"
],
"locale": {
"pb": "pt_BR"
},
"date_format": {
"pb": "%d \d\e %B \d\e %Y"
},
"time_format": {
"pb": "%H:%M hrs."
},
"url_mode": 2,
"use_strftime": 3,
"filter_options_mode": 0,
"language_name_case": 0,
"detect_browser_language": false,
"hide_untranslated": false,
"show_menu_alternative_language": false,
"show_displayed_language_prefix": false,
"show_alternative_content": true,
"hide_default_language": true,
"use_secure_cookie": false,
"header_css_on": true,
"text_field_filters": [],
"disable_client_cookies": false,
"url_info": {
"cookie_lang_front": "pb",
"cookie_lang_admin": "pb",
"cookie_front_or_admin_found": true,
"pagenow": "admin-ajax.php",
"REQUEST_METHOD": "GET",
"WP_ADMIN": true,
"WP_DOING_AJAX_POST": [],
"scheme": "https",
"host": "www.elera.com",
"path": "/wp-admin/admin-ajax.php",
"query": "action=admin_debug_info",
"path-base": "",
"wp-path": "/wp-admin/admin-ajax.php",
"language_neutral_path": true,
"http_referer": "https://www.elera.com/wp-admin/options-general.php?page=qtranslate-xt",
"referer_admin": true,
"doing_front_end": false,
"lang_cookie_admin": "pb",
"lang_admin": "pb",
"language": "pb",
"set_cookie": false
},
"language": "pb",
"editor_mode": 0,
"highlight_mode": 1,
"auto_update_mo": true,
"hide_lsb_copy_content": false,
"lsb_style": "simple-buttons.css",
"config_files": [
"./i18n-config.json"
],
"custom_fields": [],
"custom_field_classes": [],
"post_type_excluded": [
"attachment",
"custom_css",
"customize_changeset",
"oembed_cache",
"user_request",
"wp_block",
"wpdiscuz_form",
"acf-field-group",
"acf-field"
],
"admin_enabled_modules": {
"acf": true,
"slugs": true,
"all-in-one-seo-pack": false,
"events-made-easy": false,
"jetpack": false,
"google-site-kit": false,
"gravity-forms": false,
"woo-commerce": false,
"wp-seo": false
},
"translator": {},
"qtrans_compatibility": true
}
Browser
{
"cookies": [],
"navigator": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
"Javascript built-in RegExp: @@split": "supported"
}

@emersonajr emersonajr added the maybe bug Potential bug, to be investigated label Feb 22, 2024
@spleen1981 spleen1981 linked a pull request Mar 5, 2024 that will close this issue
@spleen1981
Copy link
Contributor

I'm not able to reproduce this, but it should be fixed by #1398

@spleen1981 spleen1981 added severity: minor Minor functionality and removed maybe bug Potential bug, to be investigated labels Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants