Sudden Errors Showing

Post

Posted
Rating:
#10246 (In Topic #3533)
Avatar
Standard member
dkpartycomrade is in the usergroup ‘Fan in action’
Out of nowhere, after hours of 0 errors, I suddenly get this: 
 
26-Feb-2025 04:50:15 UTC PHP Deprecated
 

ctype_alnum() [<a href='http://php.net/manual/en/function.ctype-alnum.php&#39;&gt;function.ctype-alnum.php&lt;/a&gt;]: Argument of type int will be interpreted as string in the future in /sources/database/mysqli.php on line 190


What could it mean? Well, it would appear that it's calling for a string but getting an integer. Luckily Composr CMS is very versatile, but would it let me edit the PHP file? I'm no programmer, but it's fairly straight forward. I wonder if running this on the SQL databases while the website is running is a good idea or not. Not sure, but I need to buy a backup program for the files if I accidently corrupt something.

Suggestions appreciated! Btw, Composr is AWESOME!

Last edit: by dkpartycomrade

Online now: No Back to the top

Post

Posted
Rating:
#10249
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
Do you know what version of PHP you are using? You can usually ignore PHP deprecation errors, but they should still be reported to us like you just did so we can ensure future PHP compatibility.

And yes, backups are critical. If your web host does not have a backup tool, you can use Composr's backup addon as a last resort to back up your site and database.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Patrick Schmalstig)
#10251
Avatar
Standard member
dkpartycomrade is in the usergroup ‘Fan in action’
PHP as reported from admin zone: 8.2.27

Patrick, thank you for reminding me about the BUILT IN backup tool. Composr is, by far, the best CMS system and I applaud you for single handedly keeping this project afloat. Thank you!! 

 
Online now: No Back to the top

Post

Posted
Rating:
#10253
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
Thank you; that's an odd error for PHP 8.2. I'll look into it. Please report to the issue tracker if you can so I don't forget.

And no problem, though I wouldn't say I'm single-handedly doing it. While I'm the only active developer, there are several members who are testing Composr (especially version 11) and reporting to me any issues they find.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,826 members
  • Our newest member is psychedelic1
Birthdays:
Back to Top