Jump to content

Recommended Posts

Posted

I am getting this after approving a Pirep: Warning: imagestring() expects parameter 2 to be long, string given in /home/vforg/public_html/core/common/PilotData.class.php on line 1054This is what I have for line 1054: imagestring($img, $font, $xoffset, $currline, $output[$i], $textcolor); What do I need to do to fix this error?

  • Moderators
Posted

Replace the following line....

imagestring($img, $font, $xoffset, $currline, $output[$i], $textcolor);

To

imagestring($img, int($font), $xoffset, $currline, $output[$i], $textcolor);

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...