Jump to content

Something were wrong with my site


Recommended Posts

Hello,

Today I wanted to enter to the control panel of my site and get this messages:

Deprecated: Required parameter $current_page follows optional parameter $order_by in /home4/bellereb/public_html/classes/db/database.class.php on line 175

Deprecated: Required parameter $file_name follows optional parameter $dropTables in /home4/bellereb/public_html/classes/db/database.class.php on line 267

Also my Front Page does not work properly

This is my site: https://www.bellerebelle.com.mx/

Any help to solve this will be greatfuly appreciatted

 

Line 75.JPG

Line 267.JPG

Panel de administración.JPG

Link to comment
Share on other sites

Your version of PHP may have been recently updated.

An issue will be posted in the Github.

In the meantime, using a programmer's text editor, make these changes to the file /classes/db/database.class.php:

Line 175, from:
public function column_sort($column_name, $display_text, $order_by = 'sort', $current_page, $current_sort = false, $anchor = false)

Change to:
public function column_sort($column_name, $display_text, $order_by = 'sort', $current_page = '', $current_sort = false, $anchor = false)

Line 267, from:
public function doSQLBackup($dropTables = false, $incStructure = true, $incRows = true, $file_name, $compress = false, $all_tables = false)

Change to:
public function doSQLBackup($dropTables = false, $incStructure = true, $incRows = true, $file_name = 'dummy.sql', $compress = false, $all_tables = false)

 

  • Like 1
Link to comment
Share on other sites

21 minutes ago, Lahun Lamat said:

Hello,

Today I wanted to enter to the control panel of my site and get this messages:

Deprecated: Required parameter $current_page follows optional parameter $order_by in /home4/bellereb/public_html/classes/db/database.class.php on line 175

Deprecated: Required parameter $file_name follows optional parameter $dropTables in /home4/bellereb/public_html/classes/db/database.class.php on line 267

Also my Front Page does not work properly

This is my site: https://www.bellerebelle.com.mx/

Any help to solve this will be greatfuly appreciatted

 

Line 75.JPG

Line 267.JPG

Panel de administración.JPG

Thank you bSmither, I have just talked to my host provider and said they change to version 8.0 of PHP, I guess CC is not compatible with that version?

I will make the changes you recomend.

Thanks again for you fast response.

Regards

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

 Share

×
×
  • Create New...