• i only have category. no tags. i did a tag to test if these error stop. but not worked.

    here is my error log

    
    [15-Jan-2024 20:46:02 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [15-Jan-2024 20:46:02 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [15-Jan-2024 20:46:02 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [15-Jan-2024 20:46:02 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [15-Jan-2024 22:16:03 UTC] Cron reschedule event error for hook: litespeed_task_lqip, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":"litespeed_filter","args":[],"interval":60}
    [15-Jan-2024 22:16:03 UTC] Cron unschedule event error for hook: litespeed_task_lqip, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":"litespeed_filter","args":[],"interval":60}
    [15-Jan-2024 22:16:03 UTC] Cron reschedule event error for hook: litespeed_task_imgoptm_req, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":"litespeed_filter","args":[],"interval":60}
    [15-Jan-2024 22:16:03 UTC] Cron unschedule event error for hook: litespeed_task_imgoptm_req, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":"litespeed_filter","args":[],"interval":60}
    [15-Jan-2024 22:16:10 UTC] Cron reschedule event error for hook: litespeed_task_lqip, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":"litespeed_filter","args":[],"interval":60}
    [16-Jan-2024 16:57:04 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND umt.meta_value NOT LIKE '%Contributor%' AND umt.meta_value NOT LIKE '%Subscr' at line 11 for query 
    		SELECT u.ID, umt1.meta_value as last_update
    		FROM wpug_users as u
    		    LEFT JOIN wpug_usermeta AS um ON ( u.ID = um.user_id AND um.meta_key = 'rank_math_robots' )
    		    LEFT JOIN wpug_usermeta AS umt ON ( u.ID = umt.user_id AND umt.meta_key = 'wp_capabilities' )
    		    LEFT JOIN wpug_usermeta AS umt1 ON ( u.ID = umt1.user_id AND umt1.meta_key = 'last_update' )
    		    WHERE ( (
    		 		( um.meta_key = 'rank_math_robots' AND um.meta_value NOT LIKE '%noindex%' )
    		 		OR um.user_id IS NULL
    			)
    			AND (  umt1.meta_key = 'last_update' OR umt1.user_id IS NULL )
    			AND ( umt.meta_key ='wp_capabilities' AND (  AND umt.meta_value NOT LIKE '%Contributor%' AND umt.meta_value NOT LIKE '%Subscriber%' AND umt.meta_value NOT LIKE '%SEO Manager%' AND umt.meta_value NOT LIKE '%SEO Editor%' ) ) )
    		    AND u.ID IN (
    		    	SELECT post_author
    		    	FROM wpug_posts as p
    		    	WHERE p.post_status = 'publish' AND p.post_password = ''
    		    	
    		    	)
    		ORDER BY umt1.meta_value DESC
    		  made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, WP_Query->parse_query, do_action_ref_array('parse_query'), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\Sitemap\Router->request_sitemap, RankMath\Sitemap\Sitemap_XML->__construct, RankMath\Sitemap\Sitemap_XML->output, RankMath\Sitemap\Sitemap_XML->has_sitemap_in_cache, RankMath\Sitemap\Sitemap_XML->build_sitemap, RankMath\Sitemap\Generator->get_output, RankMath\Sitemap\Generator->build_sitemap, RankMath\Sitemap\Generator->build_root_map, RankMath\Sitemap\Providers\Author->get_index_links, RankMath\Sitemap\Providers\Author->get_index_users
    [17-Jan-2024 10:10:05 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-slack.php on line 168
    [17-Jan-2024 10:10:05 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:05 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:05 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:05 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:10 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-slack.php on line 168
    [17-Jan-2024 10:10:10 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:10 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:10 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:10 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:14 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-slack.php on line 168
    [17-Jan-2024 10:10:14 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:14 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:14 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:14 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:18 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-slack.php on line 168
    [17-Jan-2024 10:10:18 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:18 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:18 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    [17-Jan-2024 10:10:18 UTC] PHP Warning:  Attempt to read property "taxonomy" on null in /home/mysite/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 371
    

    what can i do?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @tvhex,

    Thank you for contacting Rank Math support.

    Please confirm if you are seeing the warnings on specific pages or site-wide. For intial troubleshooting, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well:
    https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Let us know how that goes. Looking forward to helping you.

    Thread Starter ??? ?????? ?????

    (@tvhex)

    its not visible to users. But on site log/ error logs it’s appear. I only give you some part of it.

    there is more like this

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @tvhex,

    This can happen if you are using taxonomy pages created with a custom plugin where they don’t positively to the following function: https://developer.www.ads-software.com/reference/functions/is_category/

    However, the queried object doesn’t have the property “taxonomy” associated with it.

    Since this is not appearing on a particular page of your website it’s difficult to fully debug this but if you have custom taxonomies we would first start by making sure those are created correctly and have all the necessary properties.

    If you don’t have custom taxonomies, please try to dump the value of the following function on one of the category pages: https://developer.www.ads-software.com/reference/functions/get_queried_object/

    function display_queried_object() { $queried_object = get_queried_object(); if ($queried_object) { echo '<pre>'; print_r($queried_object); echo '</pre>'; } else { echo 'No queried object found.'; } } add_action('wp_footer', 'display_queried_object');

    Please don’t keep this code on forever as it’s only for debugging purposes.

    Thank you.

    Thread Starter ??? ?????? ?????

    (@tvhex)

    no, i Don’t have any custom taxonomies. Just post, page, Post category.

    and i do have 6/7 sync pattern/block

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @tvhex,

    Please try to dump the value of the following function on one of the category pages: https://developer.www.ads-software.com/reference/functions/get_queried_object/
    function display_queried_object() { $queried_object = get_queried_object(); if ($queried_object) { echo '<pre>'; print_r($queried_object); echo '</pre>'; } else { echo 'No queried object found.'; } } add_action('wp_footer', 'display_queried_object');

    Please don’t keep this code on forever, as it’s only for debugging purposes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘rank math plugins creating these error from last months’ is closed to new replies.