After upgrading Drupal from version 7.67 to 7.68 it started to show a plenty of the messages below. I am currently using PHP 7.3.9-1.
At https://www.drupal.org/project/drupal/releases/7.68 we have "This is the first release to fully support PHP 7.3. Please test and report any bugs in the issue queue.". So I am reporting this and expecting some help.

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 915 of /var/www/website/sites/all/modules/libraries/libraries.module).
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in include_once() (line 24 of /var/www/website/sites/all/modules/webform2pdf/webform2pdf.install).

Notice: Undefined property: stdClass::$uri in theme_file_link() (line 783 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$uri in theme_file_link() (line 803 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in theme_file_icon() (line 849 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 893 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_map() (line 936 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 908 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 908 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 908 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 908 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in theme_file_link() (line 815 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filesize in theme_file_link() (line 815 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filename in theme_file_link() (line 821 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$uri in theme_file_link() (line 783 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$uri in theme_file_link() (line 803 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in theme_file_icon() (line 849 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 893 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_map() (line 936 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 908 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 908 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 908 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in file_icon_path() (line 908 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filemime in theme_file_link() (line 815 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filesize in theme_file_link() (line 815 of /var/www/website/modules/file/file.module).
Notice: Undefined property: stdClass::$filename in theme_file_link() (line 821 of /var/www/website/modules/file/file.module).

Thanks in advance.

Comments

pharamis created an issue. See original summary.

nagy.balint’s picture

Hi,

Updating core wont be enough to make it compatible with new php versions if you are using contrib modules.

In the messages above webform2pdf, and libraries are contrib modules that need updates as well.

pharamis’s picture

nagy.balint, yes. Contrib module has to be updated as well, but these Notices on the file module seems to be an issue, or not!?

pharamis’s picture

I applied the patch(https://www.drupal.org/project/drupal/issues/1967176#comment-13154877) cleared the caches and the notices were gone.
Should I change this issue for which status?
Thanks !

P.S.: I will open two issues for the library and webform2pdf modules.

cilefen’s picture

Status: Active » Closed (duplicate)
Issue tags: -warnings
Related issues: +#3099824: Warnings and notices after upgrade