{"id":2005,"date":"2019-11-20T09:11:44","date_gmt":"2019-11-20T09:11:44","guid":{"rendered":"https:\/\/webnus.site\/dox\/?p=2005"},"modified":"2024-01-02T11:12:03","modified_gmt":"2024-01-02T11:12:03","slug":"mec-no-event-found","status":"publish","type":"knowledgebase","link":"https:\/\/webnus.net\/dox\/modern-events-calendar\/mec-no-event-found\/","title":{"rendered":"No Event Found Issue in Modern Events Calendar"},"content":{"rendered":"\n<p>In this article, we will explain the No Event Found Issue in Modern Events Calendar and provide a permanent solution to fix it.<\/p>\n\n\n\n<p>If you receive the message &#8220;No Event Found!&#8221; please check it before submitting a ticket. If your issue is not resolved, you can submit a ticket for assistance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Checking_the_requirements_for_No_Event_Found_Issue_in_Modern_Events_Calendar\"><\/span>Checking the requirements for No Event Found Issue in Modern Events Calendar<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, please make sure that you are using the latest version of MEC.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Please read the following article: <a href=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/date-method-in-mec-plugin\/\" target=\"_blank\" data-type=\"knowledgebase\" data-id=\"1838\" rel=\"noreferrer noopener nofollow\">Setup Date Option On Shortcodes<\/a>.<\/li>\n\n\n\n<li>Please check the following (even again):<\/li>\n<\/ol>\n\n\n\n<p>Now, follow the checklist below. <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Update permalinks from&nbsp;dashboard &gt; Settings &gt; permalinks<\/li>\n\n\n\n<li>Update events and shortcodes again<\/li>\n\n\n\n<li>Remove filter options from shortcodes<\/li>\n\n\n\n<li>Check the events not to be expired<\/li>\n\n\n\n<li>Featured images for events in the Carousel shortcode<\/li>\n\n\n\n<li>Deactivate all your plugins and let the <a href=\"https:\/\/webnus.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">MEC<\/a> remain active only, set your theme on default, and then reload the page. If the issue is solved, then activate your plugins one by one and your theme, refresh your page, and check to see which plugin is causing\u00a0the issue. Please let us know the results.<\/li>\n\n\n\n<li>Please check the MEC Dashboard if you have Upcoming events.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-01.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"968\" src=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-01.png\" alt=\"No Event Found Issue in Modern Events Calendar\" class=\"wp-image-11314\" title=\"\" srcset=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-01.png 1920w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-01-300x151.png 300w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-01-1024x516.png 1024w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-01-768x387.png 768w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-01-1536x774.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/figure>\n\n\n\n<p>If the issue persists, please follow the instructions below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fix_%E2%80%9CNo_Event_Found%E2%80%9D_With_SQL_Query\"><\/span><strong>Fix \u201cNo Event Found\u201d With <a href=\"https:\/\/www.w3schools.com\/sql\/\" target=\"_blank\" rel=\"noreferrer noopener\">SQL<\/a> Query:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><span style=\"color: #ff0000;\"><strong>We strongly advise you to get a backup of your database first.<\/strong><\/span><\/p>\n\n\n\n<p>If none of the above methods helped, we need to write a query that can work with the database of your website.<\/p>\n\n\n\n<p>Firstly, please find the \u201c#__<strong>mec_***<\/strong> \u201d and delete them (Drop).<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-02.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1105\" height=\"891\" src=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-02.png\" alt=\"No Event Found Issue in Modern Events Calendar\" class=\"wp-image-11315\" title=\"\" srcset=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-02.png 1105w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-02-300x242.png 300w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-02-1024x826.png 1024w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-02-768x619.png 768w\" sizes=\"auto, (max-width: 1105px) 100vw, 1105px\" \/><\/a><\/figure>\n\n\n\n<p>In the next step, open install.sql in the directory below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wp-content\\plugins\\modern-events-calendar\\assets\\sql\\install.sql<\/code><\/pre>\n\n\n\n<p>Note 1: Usually, \u201cwp_\u201d is the default prefix of all tables. You should change the prefix instead to this \u201c#__\u201d<br>Note2: You can find the WordPress prefix on the wp-config file<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/no-event-03.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"930\" height=\"216\" src=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/no-event-03.png\" alt=\"No Event Found Issue in Modern Events Calendar\" class=\"wp-image-9664\" title=\"\" srcset=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/no-event-03.png 930w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/no-event-03-300x70.png 300w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/no-event-03-768x178.png 768w\" sizes=\"auto, (max-width: 930px) 100vw, 930px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Add_a_new_query_for_WordPress_database\"><\/span>Add a new query for WordPress database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now, you should add a new query for your WordPress database, so please follow the steps below.<\/p>\n\n\n\n<p>Some characters should be replaced as follows.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nFind &#x5B;:CHARSET:] =&gt; Replace with utf8mb4 or utf8\nFind &#x5B;:COLLATE:] =&gt; Replace with utf8mb4_unicode_ci or utf8_general_ci\nFind #__         =&gt; Replace with Table prefix (Normally wp_)\n<\/pre><\/div>\n\n\n<p>Find and replace the correct charset.<\/p>\n\n\n\n<p>For example, find all #__ in the install.sql and replace it with your WordPress prefix. Also, find&nbsp; [:CHARSET:] &amp; [:COLLATE:], then replace them with the correct string.<\/p>\n\n\n\n<p><span style=\"color: #ff0000;\"><strong>Note:<\/strong><\/span> Do not save the install.sql file.<\/p>\n\n\n\n<p>Now copy all of the code in the install.sql file [modified with the replace codes] and paste it into the SQL Query in your database, and then click on the GO button.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-03.png\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"2386\" height=\"912\" src=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-03.png\" alt=\"No Event Found Issue in Modern Events Calendar\" class=\"wp-image-11316\" title=\"\" srcset=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-03.png 2386w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-03-300x115.png 300w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-03-1024x391.png 1024w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-03-768x294.png 768w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-03-1536x587.png 1536w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2024\/01\/no-event-found-03-2048x783.png 2048w\" sizes=\"auto, (max-width: 2386px) 100vw, 2386px\" \/><\/a><\/figure>\n\n\n\n<p>After that, you install MEC tables, and you need to save all of the events and shortcodes on your website, open all events, shortcodes, and taxonomies&#8230; and click on the update button to save all of them in the database.<br>&nbsp;<br>I hope the above steps help you. If you have any issues yet, please let me know: <a href=\"https:\/\/webnus.net\/support\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/webnus.net\/support\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Fix the &quot;No Event Found&quot; Error on Modern Events Calendar Quickly\" width=\"980\" height=\"551\" src=\"https:\/\/www.youtube.com\/embed\/9Lxt9q8pGJw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><br>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you confronted &#8220;No Event Found!&#8221;.\u00a0 we will send you this message, so please before submitting a ticket check it and then if your issue was not fixed, then submit a ticket:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[48],"class_list":["post-2005","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-troubleshooting-other"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/2005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/comments?post=2005"}],"version-history":[{"count":3,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/2005\/revisions"}],"predecessor-version":[{"id":11318,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/2005\/revisions\/11318"}],"wp:attachment":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/media?parent=2005"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase_cat?post=2005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}