The first thing to try is cleaning the sending and receiving sensor lenses.
Unless there's instructions using the fob to do this in the owner's manual, it seems the harder route.
You could just put a longer rope on the mechanical release if needed, tied to a section further down on the door so it isn't hitting the vehicle as you pull in, then manually release the door and close it, then it is blocking sun so you should be able to use the opener motor to move the mechanism down and engage with the door so it is ready to use next time - at least it is this way on many of the CM/Chamberlain openers.
You could use a multimeter to measure the voltage level change of the optical receiving unit when the door is working versus blocked, and replicate that with a pull up resistor or resistor divider from the receiving sensor input to opener, from the power supply for the sending sensor, then run the two wire connection to that, over to the wall panel where you put a new switch in it to override the optical sensor.
If you don't want to touch the existing opener wiring, another possibility might be to just create your own infrared LED module slightly off to the side (so it doesn't block the normal sending sensor beam) of the receiver sensor but aimed towards it, and power that however you want. For example a 100mW IR LED underdriven a bit, could be powered by a simple circuit of 5V cellphone/etc USB charger and 75ohm series resistor.
Another option is swap the positions of the sending and receiving sensor so it is less vulnerable at that time of day, or as someone else already mentioned, mount a tube on the one receiving the excess sunlight, preferably longer than its diameter, though you may then need to more precisely aim the sender.