mickwall
Forum Replies Created
-
Forum: Plugins
In reply to: [My Tickets - Accessible Event Ticketing] Fatal error when using PHP 8Hi Joe
Do you reckon I am good to try php 8 again?
Cheers
if you edit the file in the error and change mc_kses_elements to mt_kses_elements your issue will be resolved – I am sure Joe will release a fix soon.
if you check my report (Fatal error when editing user) it details how you can fix if you need to.
Mick
Forum: Plugins
In reply to: [My Tickets - Accessible Event Ticketing] Fatal error when editing userI have Manually edited lines 793 and 799 and changed mc_ksess_elements to mt_ksess_elements and that seems to of resolved things for me
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Markdown crashI will say though, if you are using an expired licence for the pro add ons dont install anything past 3.1.35 as it will break them,
- This reply was modified 5 years, 2 months ago by mickwall.
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Markdown crashHi Guys,
check this post
https://wordpress.org/support/topic/fatal-error-in-v3-1-36-on-wordpress-5-7-2/
I’ve provided a link to a patched version – I have submitted a new pull request to get this fixed – waiting for a response!
Great thanks, I’ll just add here that link will expire. I have submitted the fix via GitHub so I need the plugin maintainer to pick those up and create a release!
Hey, Thanks.
Can you download it again (Same link – I’ve made a change) and see how it goes. Also can you describe what the google event looks like, the content etc so I can test this locally rather than keep guessing!
Cool, thats the error I thought you might get –
Can you download and try this version – you will have to just unpack over the existing directory in the plugins directory.
https://1drv.ms/u/s!As4SjpxYqQN_gcRVZpc5J97vvaoAmQ?e=06nN2W
Basically when I have changed the plugin to namespace (make unique versions) of all the 3rd party code I’ve missed adding Parsedown, this version adds it back in the new way.
Sorry for the trouble
- This reply was modified 5 years, 2 months ago by mickwall.
Cheers @flips01 Any more info in the logs at all – that doesnt say “fatal error” and the error
Uncaught Error: Class “Parsedown”
is not there so we have changed something!
th elog didn’t help me this time so be good if you can find something else?
It will be down to data in your Google calendar, I guess there must be something that will trigger it. The line is wrong so if you do see a crash at some point try the fix and let me know.
Here is the “pull request”
https://github.com/sureswiftcapital/Simple-Calendar/pull/345
You might until they fix it properly – I have submitted this fix to github so they just need to pick it up before the next release
Thanks
Yours is an easy fix
Change
$markdown = new \Parsedown();
to
$markdown = new Parsedown();in file
/home/mydomain/domains/mydomain.tld/public_html/wp-content/plugins/google-calendar-events/includes/events/event-builder.php
at Line 673
and that should fix it
Hi guys, is you google calendar pro / full calendar licence still valid?
if not that will be the cause. The latest version of simple calendar uses a different way to include the google API’s, its better because it means the plugin will no longer conflict with many other plugins.
Look at the top of
/wp-content/plugins/simple-calendar-google-calendar-pro/includes/feeds/google-pro.php
what are the “use” lines?
If you have the latest version they should be something like
namespace SimpleCalendar\Feeds;
use SimpleCalendar\plugin_deps\Google\Service\Exception;
use SimpleCalendar\plugin_deps\Google_Service_Calendar_CalendarListEntry;use SimpleCalendar\plugin_deps\Google_Service_Calendar_Event;
use SimpleCalendar\plugin_deps\Google_Service_Calendar_EventAttachment;
use SimpleCalendar\plugin_deps\Google_Service_Calendar_EventAttendee;
use SimpleCalendar\plugin_deps\Google_Service_Calendar_EventCreator;
use SimpleCalendar\plugin_deps\Google\Google_Service;
use SimpleCalendar\plugin_deps\Google_Service_Calendar;
use SimpleCalendar\plugin_deps\Google_Service_Drive;
use SimpleCalendar\plugin_deps\Google_Client;use SimpleCalendar\plugin_deps\Carbon\Carbon;
use SimpleCalendar\Abstracts\Calendar;
use SimpleCalendar\Feeds\Admin\Google_Pro_Admin;